This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* At first sight, it might seem impossible to target markers on Google Maps because of recent changes Google made to optimize them. | |
* | |
* In this example its shown how to populate your map with custom markers that have a dynamic (yet fake) ID appended to their `src` which, when used with the `optimized: false`, creates a unique DOM element, that you can then target with jQuery. | |
* | |
*/ | |
var marker, i; | |
var locations = [['Seattle','United States',47.6062095,-122.3320708,'01'],['San Jose','United States',37.3382082,-121.8863286,'02'],['Los Angeles','United States',34.0522342,-118.2436849,'03'],['Dallas','United States',32.7766642,-96.7969878,'04'],['San Antonio','United States',29.4241219,-98.4936282,'05'],['Chicago','United States',41.8781136,-87.629798,'06'],['Washington DC','United States',38.9071923,-77.0368707,'07'],['Newark','United States',40.735657,-74.1723667,'08'],['Miami','United States',25.7616798,-80.1917902,'09'],['Sao Paulo','Brazil',-23.5505199,-46.6333094,'10'],['London','United Kingdom',51. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo killall coreaudiod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ "keys": ["super+enter"], "command": "insert_snippet", "args": {"contents": " {\n\t$0\n}"}, "context": | |
[ | |
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true } | |
] | |
} | |
] |
NewerOlder