Hello:
I have this service:
I want to get the coordinates where AIN or APN is specified and send that to a google map page I have that is locally hosted. The user will enter the AIN or APN on another site I also locally host which will then be sent to the google map page.
A query example:
How do I make a call for this in the script where the user enter the AIN or APN and then send the lat/long to the google map script using the ArcGIS JS API?
ArcGIS Server with JavaScript API
Solved! Go to Solution.
Partial Solution:
from parent:
document.getElementById('street').contentWindow.moveToLoc(latt, lon);
to child (to run on receipt):
function moveToLoc(lat, lng){
var moveto = new google.maps.LatLng(lat, lng);
map.panTo(moveto);
}
I just need to add a marker when the maps re-centers when the moveToLoc function is ran