/home/desid573/phewl.desidrivers.com.au/v3-utility-library-master/arcgislink/examples
NameSizeModeActions
arcgisonline.html11660644editdlrm
arcgisonline.js15130644editdlrm
arcgisonline_all_compiled.html10980644editdlrm
arcgisonline_compiled.js200690644editdlrm
arcgisonline_lib_compiled.html11750644editdlrm
buffer.html11740644editdlrm
buffer.js31750644editdlrm
buffer_all_compiled.html10960644editdlrm
buffer_compiled.js134810644editdlrm
buffer_lib_compiled.html11830644editdlrm
combined.html12010644editdlrm
combined.js8910644editdlrm
combined_all_compiled.html11230644editdlrm
combined_compiled.js217860644editdlrm
combined_lib_compiled.html12100644editdlrm
coverarea.html11960644editdlrm
coverarea.js23840644editdlrm
coverarea_all_compiled.html11180644editdlrm
coverarea_compiled.js124270644editdlrm
coverarea_lib_compiled.html12050644editdlrm
directionbuffer.html36220644editdlrm
dynamap.html12000644editdlrm
dynamap.js7170644editdlrm
dynamap_all_compiled.html11220644editdlrm
dynamap_compiled.js185580644editdlrm
dynamap_lib_compiled.html12090644editdlrm
dynatype.html11910644editdlrm
dynatype.js6990644editdlrm
dynatype_all_compiled.html11130644editdlrm
dynatype_compiled.js185100644editdlrm
dynatype_lib_compiled.html12000644editdlrm
find.html17700644editdlrm
find.js34530644editdlrm
find_all_compiled.html16920644editdlrm
find_compiled.js144510644editdlrm
find_lib_compiled.html17790644editdlrm
geocode.html11760644editdlrm
geocode.js25920644editdlrm
geocode_all_compiled.html10980644editdlrm
geocode_compiled.js135320644editdlrm
geocode_lib_compiled.html11850644editdlrm
hosts.html11980644editdlrm
hosts.js7820644editdlrm
hosts_all_compiled.html11200644editdlrm
hosts_compiled.js184860644editdlrm
hosts_lib_compiled.html12070644editdlrm
hourglass.html14160644editdlrm
hourglass.js12570644editdlrm
hourglass_all_compiled.html13380644editdlrm
hourglass_compiled.js183830644editdlrm
hourglass_lib_compiled.html14250644editdlrm
layerdef.html11860644editdlrm
layerdef.js16770644editdlrm
layerdef_all_compiled.html11080644editdlrm
layerdef_compiled.js184800644editdlrm
layerdef_lib_compiled.html11950644editdlrm
layerquery.html11830644editdlrm
layerquery.js29740644editdlrm
layerquery_all_compiled.html11050644editdlrm
layerquery_compiled.js130690644editdlrm
layerquery_lib_compiled.html11920644editdlrm
layervis.html15030644editdlrm
layervis.js13550644editdlrm
layervis_all_compiled.html14250644editdlrm
layervis_compiled.js183760644editdlrm
layervis_lib_compiled.html15120644editdlrm
libapp.html19280644editdlrm
libapp.js28810644editdlrm
libapp_all_compiled.html13210644editdlrm
libapp_compiled.js148770644editdlrm
libapp_lib_compiled.html14080644editdlrm
maptypeoverlay.html11920644editdlrm
maptypeoverlay.js5590644editdlrm
maptypeoverlay_all_compiled.html11140644editdlrm
maptypeoverlay_compiled.js183970644editdlrm
maptypeoverlay_lib_compiled.html12010644editdlrm
mercator.html11910644editdlrm
mercator.js6770644editdlrm
mercator_all_compiled.html11130644editdlrm
mercator_compiled.js184310644editdlrm
mercator_lib_compiled.html12000644editdlrm
nexus.html13520644editdlrm
nexus2.html14940644editdlrm
nexus_h.jpg178190644editdlrm
nexus_v.jpg182650644editdlrm
opacity.html48060644editdlrm
project.html11790644editdlrm
project.js25750644editdlrm
project_all_compiled.html11010644editdlrm
project_compiled.js128140644editdlrm
project_lib_compiled.html11880644editdlrm
reverse.html11760644editdlrm
reverse.js17070644editdlrm
reverse_all_compiled.html10980644editdlrm
reverse_compiled.js130700644editdlrm
reverse_lib_compiled.html11850644editdlrm
routebarriers.html29610644editdlrm
routebarriers.js35750644editdlrm
routebarriers_all_compiled.html28830644editdlrm
routebarriers_compiled.js132460644editdlrm
routebarriers_lib_compiled.html29700644editdlrm
routebarrier_compiled.js191100644editdlrm
simpleags.html41740644editdlrm
simpleags.js69350644editdlrm
simpleags_all_compiled.html40920644editdlrm
simpleags_compiled.js266650644editdlrm
simpleags_lib_compiled.html41830644editdlrm
stateplane.html13400644editdlrm
stateplane.js16520644editdlrm
stateplane_all_compiled.html12620644editdlrm
stateplane_compiled.js193180644editdlrm
stateplane_lib_compiled.html13490644editdlrm
Edit: /home/desid573/phewl.desidrivers.com.au/v3-utility-library-master/arcgislink/examples/geocode.js (2592B)
var map, geocoder, iw, markers, form; function init() { var myOptions = { zoom: 4, center: new google.maps.LatLng(40, -100), mapTypeId: google.maps.MapTypeId.ROADMAP } map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); geocoder = new gmaps.ags.GeocodeService('http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Locators/ESRI_Geocode_USA/GeocodeServer'); google.maps.event.addListenerOnce(geocoder, 'load', function() { var fields = geocoder.addressFields; form = ''; for (var i = 0; i < fields.length; i++) { form += fields[i].alias + ':
'; } form += ''; iw = new google.maps.InfoWindow({ maxWidth: 200, content: form, position: map.getCenter() }); iw.open(map); }); } function geocode() { if (markers) { for (var i = 0; i < markers.length; i++) { markers[i].setMap(null); } markers.length = 0; } /* * inputs = { Address: '380 new york st', State: 'CA', City: 'redlands', Zip: '92373' } */ var inputs = {}; var fields = geocoder.addressFields; for (var i = 0; i < fields.length; i++) { inputs[fields[i].name] = document.getElementById(fields[i].name).value; } geocoder.findAddressCandidates({ inputs: inputs }, function(results) { markers = []; if (results.candidates) { for (var i = 0, c = results.candidates.length; i < c; i++) { var marker = createMarker(results.candidates[i]); marker.setMap(map); markers.push(marker); if (i == 0) { map.setCenter(marker.getPosition()); map.setZoom(15); google.maps.event.trigger(marker, 'click'); } } } }); } function createMarker(gc) { var html = 'Matched Address:' + gc.address + '
' + 'Score:' + gc.score + '
'; if (gc.attributes) { var attrs = gc.attributes; for (var x in attrs) { if (attrs.hasOwnProperty(x)) { html += x + attrs[x] + '
'; } } } var latlng = gc.location; var marker = new google.maps.Marker({ title: gc.address, position: latlng }); google.maps.event.addListener(marker, 'click', function() { iw.setContent(form + '
' + html); iw.setPosition(latlng); iw.open(map); }); return marker; } window.onload = init; window['geocode'] = geocode;