Select to view content in your preferred language

Co-ordinate Parameters from a feature service

186
3
Jump to solution
3 weeks ago
MattSully
New Contributor III

Dear all,

We have a few layers within our organisation.  One of which being the Rights of way layer.
What I need is the rest endpoint to have an url address to identify the following.

We need to passing the required centre co-ordinates in the URL.

https://www.arcgis.com/apps/mapviewer/index.html?url=https://services-eu1.arcgis.com/nvL9EDc30lviBdl...

What I need to have is the parameters to put on the end to link to the centre point of each right of way at a certain zoom level.

Do you have a specification for the URL parameters for this endpoint?

https://www.arcgis.com/apps/mapviewer/index.html?url=https://services-eu1.arcgis.com/nvL9EDc30lviBdl... This does not accept what I have put in.

This is the parameters of the last one which worked:

https://exmoor-npa.cloudmappin.com/prows#map?layers=21,20,7,9&bg_maps=&zoom=5&center=269126.98053788...Been taken offline now.

I have been looking at these posts:

Customising your ArcGIS experience with URL parameters - Resource Centre | Esri UK

Use URL parameters to create and modify maps—ArcGIS Online Help | Documentation

Thanks for any information.

Matt

 

0 Kudos
1 Solution

Accepted Solutions
MattSully
New Contributor III

Right I think I have got what I need, looking at the various help documents, provided in the community and from tech support....  This is what I need.

https://www.arcgis.com/apps/mapviewer/index.html?urls=https://services-eu1.arcgis.com/nvL9EDc30lviBd...

It takes me to the location and zoom level on Exmoor

View solution in original post

0 Kudos
3 Replies
MattSully
New Contributor III

I would like know if I can put across any eastings and northings (I know that is a very UK orientated projection)
I have this as a URL at the moment.

https://enpa.maps.arcgis.com/apps/mapviewer/index.html?&layers=20ed8eb102ac4e52b4e84ed9e3ea1ad4&cent...

I know I have lat long in there... Is this the right sort of parameters?

0 Kudos
MattSully
New Contributor III

Ok this is the parameters I have put in place.  Doesn't seem to want the recognise 27700 at the BNG coordinate reference system we wish to use.  I am missing that part of it.

https://www.arcgis.com/apps/mapviewer/index.html?urls=https://services-eu1.arcgis.com/nvL9EDc30lviBd...

"centre=276075%2C138587%2C27700&level=20"  These are the parameters that I am struggling with.  If I have read this correctly it should work. 

Use URL parameters to modify embedded maps—ArcGIS Online Help | Documentation
Use URL parameters in Map Viewer (esri.com)
Thanks

0 Kudos
MattSully
New Contributor III

Right I think I have got what I need, looking at the various help documents, provided in the community and from tech support....  This is what I need.

https://www.arcgis.com/apps/mapviewer/index.html?urls=https://services-eu1.arcgis.com/nvL9EDc30lviBd...

It takes me to the location and zoom level on Exmoor

0 Kudos