Esri / geoform-template-js

GeoForm is a configurable template for form based data editing of a Feature Service.
http://esri.github.io/geoform-template-js/
Apache License 2.0
67 stars 83 forks source link

Center Map when calling geoform from a seperate Website? #536

Open STGiese opened 7 years ago

STGiese commented 7 years ago

Is it possible to center (and zoom) the embedded map to a certain position when calling the geoform from another website? These position must be flexible...

driskull commented 7 years ago

@STGiese You can set a location at a lat/lon by doing the following:

&latlon=34,-117

https://www.arcgis.com/apps/GeoForm/index.html?latlon=34,-117

driskull commented 7 years ago

You can also call a search:

https://www.arcgis.com/apps/GeoForm/index.html?search=redlands,ca
STGiese commented 7 years ago

Can I also set a position using UTM coordinates? Tried it in several way...without success... Is there a way to set the zoom level also??

driskull commented 7 years ago

Can I also set a position using UTM coordinates?

Unfortunately , no.

set the zoom level also??

Nope. We could add that one though.