Open jamestb2 opened 8 years ago
// div id="map" style="width: 100%;height: 600px;"
// ui-gmap-google-map center="map.center" zoom="map.zoom" pan="0"
// ui-gmap-window show="map.window.show" coords="map.window.model.coords" //options="map.window.options" closeclick="map.window.closeClick()"
// div /div
// /ui-gmap-window
// ui-gmap-markers id="srchMap" idkey="id" models="markers" coords="'coords'" //fit="true" events="map.markersEvents" /ui-gmap-markers
///ui-gmap-google-map
// /div
I am sorry for not understanding this is my first time ever entering an issue, I usually can solve them on my own. this one is just not making sense to me
I did not know how to let me paste in the html so I removed the brackets after commenting and that not working nice work on the directive
Map is as follows:
relevant js controller: this is after a promise.
Setting my HTML via Window Options.Content and works excellent. No complaints on the functionality. I get multiple markers and 1 window at a time.
I get the error below in the console with each info window opening that I do- Please advise.. And no I don't have a Plunkr - heck just heard of it, been doing anguilar by the manuals and directives I could find, never found a Plunkr that helped my situation :)
Uncaught TypeError: Cannot set property 'opacity' of undefinedmaybeRepaint @ angular-google-maps.min.js?version=2.1:6(anonymous function) @ angular-google-maps.min.js?version=2.1:6.I.trigger @ js?Client=gme-lojack&v=3.22&callback=initialize:86.m.trigger @ infowindow.js:8(anonymous function) @ infowindow.js:5.I.trigger @ js?Client=gme-lojack&v=3.22&callback=initialize:86(anonymous function) @ util.js:52.m.yj @ common.js:237
Glad I found this directive, I really like it, cuts down on hand coding for sure! Thanks, James B