Your approach should work. You just need to assemble the right parameters 
for the ground overlay image for exportImage operation.
1. get the bound of map for "bbox", convert map.getBounds()'s latLngBounds 
to format of lnglat (note lng is in front of lat, opposite of how Google 
maps uses).
2. set the bboxSR as 4326 (WGS84, this is the input, unless you want to 
convert yourself in client JS)
3. set imageSR as 102100 (Web Mercator, this is the output because you need 
to overlay on top of google map)
4. set size by get the offsetWidth and height of mapDiv.

Then you need to remove and add a new one as map bounds changes, it can be 
a little tricky because the move event is firing excessively as you pan. In 
that case you need set a flag and combine with "idle" event to ensure an 
refresh action. Of course zoom level change warrants a refresh.   



On Friday, June 13, 2014 6:30:23 PM UTC-4, Joseph Elfelt wrote:
>
> I know how to add data that is hosted on a *tile server* to my maps.
>
> But know I want to display data that is hosted on an *image server*.
> For example, here is an image server with early topographic maps for 
> California:
>
> https://map.dfg.ca.gov/arcgis/rest/services/Base_Maps/Topo_Delta_Early_1900s/ImageServer
>
> Does this sound like the right approach?
> 1.  Request an image to fill the map bounds
> 2.  Display the image as a ground overlay
>
> I know how to do step 2, but I am stuck on step 1.
>
> Despite reading ESRI's REST documentation for image server, I have not hit 
> on the right set of parameters for requesting an image.
>
> Can anyone shed a bit of light?
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/d/optout.

Reply via email to