Hide the background of a map behind a groundOverlay

67 views
Skip to first unread message

jean-baptiste demonte

unread,
Jan 27, 2012, 2:08:49 AM1/27/12
to google-map...@googlegroups.com
Hi,

I have a simplified map displayed as groundOverlay over a country,

I want to hide all others countries visible beside mine,

I don't see any property available tp that, have i to play with the style ?

Thanks a lot,

JB

Rossko

unread,
Jan 27, 2012, 7:17:33 AM1/27/12
to Google Maps JavaScript API v3
> I want to hide all others countries visible beside mine,

Recent similar post
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/4c68ef61c001bd82/6cc6f8ba9deb97d1

Why not just add a large opaque border to your existing groundoverlay?
Limit zoom and pan so a user can't stray outside your border.
Message has been deleted

jean-baptiste demonte

unread,
Jan 29, 2012, 4:15:11 AM1/29/12
to google-map...@googlegroups.com
Hi,

Thanks for your answer ans your link,

it contains great ideas,

in this, they add an overlay in absolute position to hide the background, i will use this i think

Thanks a lot,

JB
Reply all
Reply to author
Forward
0 new messages