Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49418

How can I add a new marker after map initialization

$
0
0

@ibanhoe wrote:

Hi Forum

I have a an app based on the Map Starter.

Im using the "map" directive:

All the map funcionality is working fine, but I have to add a new marker when a push notification is received.

I followed the application's flow with debug, and the new marker is supposed was added, but it doest not appear in my map.

I tried to add this line in my code:

google.maps.event.trigger($scope.map,'resize');

but it doesn't work.

Could you help me on this?
How can I add this new marker to my map?

Thanks a lot

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>