New Novel Google Maps Symbols Inwards Action


Darren Wiens has created a quick demo of the  novel Symbols characteristic inwards the Google Maps API.

Hinton Nordic Centre Ski Trails uses an arrow symbol together with animates the arrows along a polyline. The polyline is shown on altitude of a custom overlay map of the Hinton Nordic Centre. The animated arrows are used to exhibit the direction of the actual ski trail.

Symbols tin survive 1 of five predefined shapes or you lot tin purpose SVG path annotation to exercise your ain symbols. Here's an example I made of symbols made alongside SVG path notation. This map includes symbols inwards the variety of the half dozen states together with territories that brand upward Australia.


You tin add together number listeners to symbols. In this instance I included a tooltip to cite each acre (mouse-over a acre to divulge its name). I could also convey added a listener to opened upward an data window when each acre symbol was clicked.

If you lot zoom the map the acre symbols volition remain the same size - together with thence the symbol volition drib dead relatively bigger or smaller than Commonwealth of Australia on the map. I could add together an number to rescale the symbol when the user zooms the map only I didn't inwards this instance to emphasise how symbols deed differently to map overlays. 
Buat lebih berguna, kongsi:
close