javascript - Multiple markers Google Map API v3 from array of addresses using Angular Js -
i have implement multiple markers functionality array of addresses using angular js.
here fiddle :
http://jsfiddle.net/cvsdp/175/ but i'm getting following error :
uncaught error: [$injector:modulerr] failed instantiate module myapp can 1 please me.
you can change jsfiddle setting onload no wrap - in <body>

see working example: http://jsfiddle.net/cvsdp/179/
edit: also, change line
map = new google.maps.map(angular.element(document.queryselector("#map_canvas")[0]), myoptions); to following:
map = new google.maps.map(document.queryselector("#map_canvas"), myoptions); the working jsfiddle: http://jsfiddle.net/cvsdp/180/

Comments
Post a Comment