I'm trying to drag a element onto a Google Map and then get the latitude and longitude of the drop-point on the Google Map.
I can drag an element onto the map but it seems I can't get the data of the Google Map in my drop-event.
Picture:
Code:
{{#draggable-dropzone class="draggableDropzone1" dropped="addGoogleMarker" setIsDragged="setIsDragged" }}
<div class="map-view">
{{g-maps mouseover="dragEndGoogleMap" selections=mySelectionsOptions lat=51.086080 lng=4.366330 zoom=12 markers=markers click="onMapEvent"}}
</div>
{{/draggable-dropzone}}
The "addGoogleMarker" method gets fired but the "dragEndGoogleMap" doesn't. I tried various events defined on this page:
Events page of ember-cli-g-maps
None of them gets fired.
Does anyone have a solution for this problem?
Aucun commentaire:
Enregistrer un commentaire