New answers tagged

2

Your data is stored in the features array. You can access that by specifying a custom datasource within the ajax property like this: "dataSrc": "features". I haven't found a way to get the GeoJSON property "type": "FeatureCollection" that way, it is outside of the actual data "rows". The complete code: $(document).ready(function() { $('#example')....


0

If I am correctly understanding your problem, you can get marker position using these functions : After dragend : google.maps.event.addListener(marker, 'dragend', function (event) { document.getElementById("maps_latitude").value = this.getPosition().lat(); document.getElementById("maps_longitude").value = this.getPosition().lng(); }); on click :...


0

I figured it out, solution would be to get bounds coords from pixels: map.getCoordinateFromPixel([x,y]);



Top 50 recent answers are included