Tag Info

New answers tagged

0

Your screenshot seems to display markers with labels (The orange small box with the two red boxes). Just go to the google-maps-utility-library-v3 website and you will see in action markers with labels like in this demo. The API docs are there. For the only "big box" with all infos, to custom, you can use instead of InfoWindow the InfoBox component with the ...


0

It is normal, that OpenLayers registers click events to map instances when constructed. You can try to block them with the stopPropagation() method or prevent them with the preventDefault() method. If you use OpenLayers 2, you can try to unregister them manually, but you have to know which events you want to unregister ...


0

Since the popup content is dynamic, you need a map.on listener for the popupopen event. This will bind the overlay to the image in the popup: JSFIDDLE $(document).ready(function () { $("img[rel]").overlay(); $('#test1').fadeOut(); var map = L.map('map').setView([-41.2858, 174.78682], 14); mapLink = '<a ...


0

Try looking into Dojo Mobile instead because ESRI JSAPI is built on top of that. jQuery mobile may take a bit more work to get working for this purpose. I have not tried it myself, but have had good experiences with Dojo Mobile and ESRI JSAPI.


1

The docs are great, look at the LayerGroup part. There is a method eachLayer that does exactly what you want: featureLayer.eachLayer(function (layer) { // do something with marker layer // layer.feature is probably defined, to create marker, do something like this layer.bindPopup(createPopupContentFromFeature(layer.feature)); }); You can do similar ...


0

The problem is solved. First, I changed echo $datafile to echo '<script type="text/javascript">imageUrl = "'. $datafile. '"; </script>'; This js variable is echoed in the html output page. Then, it was possible to call the js variable, imageUrl. There, was another problem with the image display. I was hiding the image layer div using ...



Top 50 recent answers are included