From: Andy R <andy.ros...@bluewin.ch>
Date: Thu, 2 Oct 2008 05:45:55 -0700 (PDT)
Local: Thurs, Oct 2 2008 8:45 pm
Subject: Re: Blog Post: 2 lines of code make the world a more beautiful, informational place!
There is no 'More' Button. You have to use GLayer.hide() and
GLayer.show(). Look at the examples (custom controls). And, please don't post code, post a link to your map.
On 2 Okt., 13:47, The Old Man <GrahamSmit...@googlemail.com> wrote:
> Thank you! I have successfully added Panoramio and Wikipedia layers to
> my forum member map at:http://millennium-thisiswhoweare.net/tiwwa/tiwwa_member_map.php > However, as the layers are enabled by default, the map looks too
> Looking at the public Google Maps page, there is a More button that
> To get the layers working, I had to change my map API from v2 to v2.x
> How do we enable this? I have the Map, Satellite and Terrain options
> Thanks again,
> Here's a section of my code so far:
> function load() {
> var myPano = new
> // Add Panoramio and Wikipedia options.
> map.addOverlay(new GLayer("com.panoramio.all"));
> // Add streetmap overlay and show the street when available.
> svOverlay = new GStreetviewOverlay();
> // Show a pop with coordinates when someone clicks on the map.
> GEvent.addListener(map, 'click', function(overlay, point) {
> });
> // Download the data in data.xml and load it onto the map.
> GDownloadUrl("http://millennium-thisiswhoweare.net/tiwwa/
> var displayname = markers[i].getAttribute("displayname");
> var html= html;
> // create the marker
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||