You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 11, 2020. It is now read-only.
I have a form along with the map(ngMap), After filling the form and inserting the marker on map, if i click submit it will save. but again if i go to add one more, the marker will be already there at the place of previous co-ordinates. if i reload the page manually, the marker will gone out of map. how to remove or hide without manual reloading of page.
and as i have used ui-router, i tried to reload the page programmaticaly like this $state.transitionTo('dashboard.places.list', null, { reload: true, inherit: false, notify: true });
that also didn't work. This is the stack over flow question i asked. SO could you please help me
The text was updated successfully, but these errors were encountered:
This happens because map instance is shared across the page; before submit and after submit.
If you add a marker with javascript, without using <marker> tag. You also need to remove it manually.
I wish I can come up with an easy solution for this
I have a form along with the map(ngMap), After filling the form and inserting the marker on map, if i click submit it will save. but again if i go to add one more, the marker will be already there at the place of previous co-ordinates. if i reload the page manually, the marker will gone out of map. how to remove or hide without manual reloading of page.
Controller
and also i have tried like this in success promise, but didn't work
and as i have used ui-router, i tried to reload the page programmaticaly like this
$state.transitionTo('dashboard.places.list', null, { reload: true, inherit: false, notify: true });
that also didn't work. This is the stack over flow question i asked. SO could you please help me
The text was updated successfully, but these errors were encountered: