--
You received this message because you are subscribed to the Google Groups "Leaflet Vector Layers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leaflet-vector-l...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
poles.setMap(map1);
var poleMarker = new L.Icon({ iconSize: new L.Point(21, 34), iconAnchor: new L.Point(8, 8), riseOnHover: true, popupAnchor: new L.Point(1, -8) });
poles = new lvector.AGS({ fields: "*", scaleRange: [3, 200], showAll: true, singlePopup: true, esriOptions: false, symbology: { type: "single", vectorOptions: { icon: poleMarker.bindLabel('{OBJECTID}').addTo(map1); } }, popupTemplate: '<div class="iw-content"><h3>Pole</h3><table class="condensed-table"><tr><th>ID:</th><td>{OBJECTID}</td></tr></table></div>' });
To unsubscribe from this group and stop receiving emails from it, send an email to leaflet-vector-layers+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to leaflet-vector-l...@googlegroups.com.
$(window).load(function() {
function showLabel() {
poles._vectors.forEach(function (feature) { var theMarker = feature.vector; var objectId = feature.properties.OBJECTID; theMarker.bindLabel(objectId, { noHide: true }) }); }
setTimeout(showLabel, 1000) });
To unsubscribe from this group and stop receiving emails from it, send an email to leaflet-vector-layers+unsubscri...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to leaflet-vector-l...@googlegroups.com.