Closed dmackerman closed 9 years ago
Are you making sure google.maps.SymbolPath.BACKWARD_OPEN_ARROW is defined when you use it initially? I would recommend not trying this until the Api is loaded.
If you notice nothing on polylines in the example is set until after the API is ready.
Also Icons work there.
Appreciate the response. I am infact doing all of the polyline stuff inside of the uiGmapGoogleMapApi.then(function(maps) { ... }
, which should indicate that the API is indeed ready. Here's a console.log
of my polylines object vm.polylines
and you'll see that the icons object gets replaced properly.
https://www.dropbox.com/s/klpgy063a95lwoz/Screenshot%202014-12-15%2009.11.32.png?dl=0
Also, I still don't see the icons working here: https://angular-ui.github.io/angular-google-maps/#!/api
Hello, I'm also having issues with this feature (I'm using the master branch), I've checked the Plunker example and it doesn't show the icons either. Thanks a lot for your time!
@nmccready: Not sure what your opinion is, but the examples are broken as well. That to me means the feature is broken. I'd try to fix it myself, but coffeescript is really hard for me to grok without a lot of time spent analyzing it.
You mean the website examples? Yeah they are probably broke. I'll get to it. The code is solid the docs are behind. I'll try and get to it as I only have so much time.
Thanks for this great directive. One issue I'm having!
I start by initializing my polylines like this, with an empty
path[]
:I then push my polylines into
path
when the Google API is ready and the lines render. However, the icons do not render at all.It seems that you're trying to use
icons
in this example, and they're broken also. https://angular-ui.github.io/angular-google-maps/#!/apiIs there a version of the library where this was working, before 2.0?