4/10/2024 0 Comments Google maps rotate satellite viewIt requires some additional setup to make it work which I’ve outlined below. I don’t think I’ve added any removal events for both shapes and markers, which surprised me, I’m normally way more efficient then that! Let me know if you need them. You’ll want to set the state inside the event “A marker has been drawn”. Have the icon you created clickable/not clickable after it’s been drawn. The cursor will change when you hover the map and when you click, the marker will then be drawn. Set the Drawing mode field inside that action to “marker” and when it’s run, it will pretty much do the same thing as what would normally happen if you manually clicked the marker icon in the tools. Then, create you’re own icon and have it run the action called “Select drawing mode” on click. To do that, run the “enable drawing tools” with both the show tools and show palette options set to No, this enables the tools but doesn’t show them. There isn’t a way to constrict the number of times the icon is clicked right now but I have set all this up in a way where you could create you’re own tools, then you can easily do this by utilising a state. If you set them all to No except the marker option, then you’ll only see the marker drawing tool visible after the action has run. To enable the drawing tools with just the Marker icon showing, there’s a series of options inside the action which say … show marker, show polyline, show polygon etc… If you use the action then put it inside the “is ready” event. Hi the satellite view (with labels enabled) there’s a Map type option in the main settings which you can set to “Hybrid” to do that, or you can run the “Set style” action and pass in the same value.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |