I'd like to set the startExtent to the envelop of a feature that is based on a passed in parameter. I can't figure this out, maybe I'm just not thinking.
var featureExtent = new esri.geometry.Extent( { "ymin": eval($("#Lat").val()) - 0.0025, "xmin": eval($("#Lon").val()) - 0.0025, "ymax": eval($("#Lat").val()) + 0.0025, "xmax": eval($("#Lon").val()) + 0.0025, "spatialReference": { "wkid": 4326 } }); myMap = new esri.Map("mapDiv", { extent: featureExtent });
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.