On Oct 29, 8:03 am, cubangt <[email protected]> wrote:
> Im having issues with my map displaying tmy marker in the center of
> the map window. I have a small thumbnail size map displaying on my
> popup for record details..
>
> #1 When my modalpopup opens i display record infomation
> along with a small 230 x 170 map, Once the popup opens and the record
> data is
> presented, the map renders fine and displays the "area" close to the
> marker, but you have to scroll up and to left to see the marker in
> the window..

Sounds like the map div is reporting zero size when the map is
constructed.

Are you triggering the resize event after opening the modalpopup?

  -- Larry

> Currently have the zoom set to 10 to get close surrounding area, but
> want to know how to make sure that the marker displays within my
> small map without scrolling to look for it.
>
> This is all i have on the aspx page. The rest of the configuration is
> set in the code behind.
> <artem:GoogleMap ID="GoogleMap1" runat="server" Width="230px"
> Height="215px" ShowMapTypeControl="False" ></artem:GoogleMap>
>
>  im setting the default lat/long values to the same as the
> marker and the marker is always just off screen in the upper left
> corner..

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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-api?hl=en.

Reply via email to