Esri / information-lookup

Web app template that is used to determine if the location specified intersects a polygon
Apache License 2.0
6 stars 25 forks source link

Disable center extent on point after clicking on map? #69

Open SamMaloneyOEPA opened 4 years ago

SamMaloneyOEPA commented 4 years ago

Is there any way to disable the function that changes the extent when I click on a feature? I have adjusted the zoom level configuration to keep my map at the same zoom, but I do not want the map to center on the point after clicking on the map.

previnWong commented 4 years ago

@SamMaloneyOEPA sorry, currently the application either centers on the feature or modified the extent to keep the popup in the map. There is no configuration to disable this. https://github.com/Esri/information-lookup/blob/88fa6ac99ef2dcab4aa43fb8e9c5e2d6fb27afdd/js/combinedPopup.js#L2005

previnWong commented 4 years ago

Consider taking a look at Zone Lookup. This is our newer template to replace Information Lookup. https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/introducing-zone-lookup/