On Mar 3, 11:15 am, Xenya <[email protected]> wrote:
> Hi,
> I want to use Googlemaps to display a route. Because the device on which I
> want see the result have not a fast internet, I looking for something with
> minimal performance.
>
> Google static Maps sound great, at the first moment. But it don't support
> routing. With Polylines I can show short routes but for long distances I
> can't use it. So my idea was, to build the Google Map on my server (with
> asp.net (c#) or php), save it at a picture and the user only need the name
> of the file.
>
> Does it work?
>
> I only know, how I can use Google Map with Javascript. If it works, can
> someone explain how I build a GoogleMap with asp.net and save it?

If your device supports style="position:absolute;" &
style="position:relative;" you can do it with a separate image
containing your polys.

<div style="position:relative;">
    <img style="position:absolute;left:0px;top:0px;width:640px;height:
640px;" src="googlestatic">
    <img style="position:absolute;left:0px;top:0px;width:640px;height:
640px;" src="yourpoly">
</div>

You will have convert from lat/lon coordinates to pixels.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to