[Google Maps API v3] Re: v3 StreetViewPanorama performances issue

2011-03-21 Thread Martin™
Hi.

I wonder if this is related to the way that the StreetViewPanorama
undocumented 'mode' property value 'webgl' is broken with v3.4 of the
API...

The StreetViewPanorama undocumented property 'mode' could be set to
'html4', 'html5' or 'webgl'.
More info on mode can be found here:

https://groups.google.com/group/google-maps-js-api-v3/search?hl=en&q=street+view+undocumented+mode&hl=en&;

I've taken the official Street View example and modified it so that
the API version and mode property can be set:

http://code.martinpearman.co.uk/street_view_mode/streetview-map.php

That's the unmodified example, try it with mode set to webgl:

http://code.martinpearman.co.uk/street_view_mode/streetview-map.php?mode=webgl

I see no Street View imagery with any browser.
(Firefox, IE8, Chrome, Safari and Opera on Win7).

v3.3 of the API and webgl work though:

http://code.martinpearman.co.uk/street_view_mode/streetview-map.php?mode=webgl&v=3.3
(Try this link with Chrome to see the better performance that the
webgl value gives)

'webgl' isn't enabled by default with Chrome and v3.3 it seems:
http://code.martinpearman.co.uk/street_view_mode/streetview-map.php?v=3.3


'html4' and 'html5' both work with v3.4:

http://code.martinpearman.co.uk/street_view_mode/streetview-map.php?mode=html4

http://code.martinpearman.co.uk/street_view_mode/streetview-map.php?mode=html5

One thing to note is what video hardware is installed on your computer
- is any acceleration even available?

To answer your other issue with markers and performance - have you
looked at a custom lightweight marker instead of the official marker?

Martin.


On Mar 21, 8:00 pm, Remi Grumeau  wrote:
> Hi group!
>
> I've been thru a couple of v3 API StreetViewPanorama tests lately and i've
> noticed a couple of issues with it:
> - Only Chrome on PC renders a 3D effect. On all others, it's just a 2D image
> sliding ... even Chrome OSX ! Is that supposed to change soon?
> - Adding a custom line + custom panorama is quick and easy... but with
> actual API, it's just a PIA to put a link to it on different locations (when
> on cross streets for example, or plazza).
> - To avoid previous issue, i'm using markers with setPano(). But markers on
> a StreetViewPanorama has a HUGE performance issue compare to the same with
> lines only : (
>
> Are we gonna have a StreetView stunning 3D look'n'feel in custom panorama
> soon?
> Are you aware of this marker performance issue?
>
> Cheers

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: How to add my own layer like shape file to google map?

2011-03-21 Thread JH
I use GeoServer+postgre data base which have postgis plugin could add
layer to gmap, which working pretty good

On Mar 18, 1:20 am, Lily  wrote:
> I have a shapefile in my local server. I need to add it as a layer to the
> top of google map. Please help! thanks!

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: How can i specify start position within custom panorama street view

2011-03-21 Thread m...@creatiworks.ca
I tried it but it didn't seem to help
here's my code maybe I'm doing something wrong
this is the initialize and start application functions which is where i 
assume you would put the setPosition function call
the POV is set already in panoOptions and really only sets the camera 
orientation anyway so really the only thing that will help here is 
setPosition.
I've tried setPosition(storefront) in several different locations in that 
code and it does nothing.  it actually breaks the link between the 
streetview and my custom panoramas
storefront is the name of the panorama object that i want to start at.
you can see the full javascript code tho if you view my source on the site 
and look at the js.

[code]

var carbonear_intersection = new google.maps.LatLng(47.724158, -53.24083);
var storefront = new google.maps.LatLng(yaddayadda);
var etc etc
there's alot of them

function initialize() {

  startApplication();

  // Define how far to search for an initial pano from a location, in 
meters.
  var panoSearchRadius = 30;

  // Create a StreetViewService object.
  var client = new google.maps.StreetViewService();
 
  // Compute the nearest panorama to the Google Sydney office
  // using the service and store that pano ID. Once that value
  // is determined, load the application.
  client.getPanoramaByLocation(carbonear_intersection, panoSearchRadius, 
function(result, status) {
if (status == google.maps.StreetViewStatus.OK) {
  entryPanoId = result.location.pano;
}  
  });
}

function startApplication() {
 
  // Set up the map and enable the Street View control.
  var mapOptions = {
center: carbonear_intersection,
zoom: 7,
mapTypeId: google.maps.MapTypeId.ROADMAP
  };
  map = new google.maps.Map(document.getElementById('map_canvas'), 
mapOptions);
   // Get the default StreetViewPanorama object.
  panorama = map.getStreetView();
   // Set up Street View and initially set it visible. Register the
  // custom panorama provider function. Update the StreetViewPanorama.
  var panoOptions = {
position: carbonear_intersection,
visible: true,
panoProvider:  getCustomPanorama,
pov: {heading:30, pitch:0, zoom:2},
addressControl: false,
enableCloseButton: false
  }
  panorama.setOptions(panoOptions);

  // We'll monitor the links_changed event to check if the current pano is 
either
  // a custom pano or our entry pano.
  google.maps.event.addListener(panorama, 'links_changed', 
createCustomLinks);
}

[/code]

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Multiple Markers, one infowindow: why?

2011-03-21 Thread chinhua kong
Hi,

Of course your infowindow are always in the same location. You should use
replace you index '2' with i.

var infowindow2 = new google.maps.InfoWindow(
{
content: tooltip2,
//position:
getPosition(loadCoordinates[2]['lat'], loadCoordinates[2]['lng'])
//position: loadedMarker.getPosition()
position: new
google.maps.LatLng(loadCoordinates[i]['lat'], loadCoordinates[i]['lng'])
});


On Mon, Mar 21, 2011 at 7:07 PM, thebit  wrote:

> Hello,
> I yet tried to utilise setPosition() (you can see that in the source
> code: it's commented) but does not works.
> I do not how to do...
>
> On 21 Mar, 21:07, chinhua kong  wrote:
> > On Mon, Mar 21, 2011 at 2:23 PM, thebit  wrote:
> > > Hello,
> > > thank you for your answer.
> > > The infowindow2 was coorectly definited, but I forgot to change name a
> > > infowindow => infowindow2  when I wrote the code here.
> > > So, I uploaded the page and you can view at this link:
> > >http://thebit.altervista.org/maps/testAddMarker5_web.php
> > > If you try to click onto a marker, the infowindow will open even in
> > > the same coordinates.
> > > I hope you can help me.
> >
> > Hi, if I understand you correctly, you want to know how to reposition the
> > infowindow. Please use setPosition to reset your infowindow's lat,lng to
> > your clicked marker's lat,lng
> >
> >
> >
> >
> >
> > > Thanks.
> >
> > > On 21 Mar, 14:22, Rossko  wrote:
> > > > > google.maps.event.addListener(loadedMarker,
> 'click',
> > > function()
> > > > > {
> > > > > infowindow2.open(map,loadedMarker);
> >
> > > > Where does infowindow2 get defined?  I'm suprised you get one at all,
> > > > but then I can't see the whole context of your code snippet.
> >
> > > > You know the routine by now, a link to your problem map would give
> > > > best responses for you.
> >
> > > --
> > > 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
> > > google-maps-js-api-v3@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-maps-js-api-v3+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.
> >
> > --
> > Best and Regards,
> > Chin Hua Kong
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>


-- 
Best and Regards,
Chin Hua Kong

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Can I have a toggle onclick polyline 'filled' arc to surround a marker? Can I adapt Projected Overlay to have 2 toggles of layers?

2011-03-21 Thread geocode...@gmail.com
On Mar 21, 6:15 pm, Christopher Watson 
wrote:
> Yeah, not sure how to get round it.

You are trying to access the "map" variable which is local to the
init() function in the global scope.

(this is a FAQ) for details on scope see this page of Mike
Williams' (v2) tutorial:
Javascript Concepts -Part 1 Scope
http://econym.org.uk/gmap/scope.htm

1. outside all functions declare a global "map" variable.
var map = null;
2. initialize it in the init function:
function init() {
...
map = new google.maps.Map(mapDiv, {
...
}

> Just trying to make the circle overlay
> work from onclick rather than load.

html onclick functions run in the global scope.

  -- Larry

>
> If can do that then sure can try attach to current active pin.
>
> On 22 Mar 2011 00:40, "geocode...@gmail.com"  wrote:
>
> On Mar 21, 5:16 pm, Christopher Watson 
> wrote:
>
> > tried to attach to pins when clicked
>
> >http://creativemaps.vism.ag/circle3.htm
>
> > its probably ...
>
> Don't you get a javascript error on that page?
>
> Error: map is not defined
> Source File:http://creativemaps.vism.ag/circle3.htm
> Line: 99
>
>  -- Larry
>
>
>
> > well, my thinking was when i can get it to be used as an onlick i can try
> to
> > attach the onlick to pins in here for examplehttp://
>
> creativemaps.vism.ag/la.htm
>
>
>
> > ona further note, tried to add
>
> >        function RadiusWidget() {
> >          var circle = new ...
>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] v3 infowindow and animating through markers

2011-03-21 Thread nny
hello,

I have a few quick questions. This is my uni project: 
http://playingintraffic.co/respondent-7/
i would like the map to animate along the path of the markers in order 
rather than skip to the last marker when the play text button is clicked.

also the graphics around the infowindow are broken and I dont  understand 
why.

any tips in the right direction would be apperciated.

peace,
dan.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Can I have a toggle onclick polyline 'filled' arc to surround a marker? Can I adapt Projected Overlay to have 2 toggles of layers?

2011-03-21 Thread Christopher Watson
Yeah, not sure how to get round it. Just trying to make the circle overlay
work from onclick rather than load.

If can do that then sure can try attach to current active pin.

On 22 Mar 2011 00:40, "geocode...@gmail.com"  wrote:

On Mar 21, 5:16 pm, Christopher Watson 
wrote:

> tried to attach to pins when clicked
>
> http://creativemaps.vism.ag/circle3.htm
>
> its probably ...
Don't you get a javascript error on that page?

Error: map is not defined
Source File: http://creativemaps.vism.ag/circle3.htm
Line: 99

 -- Larry


>
> well, my thinking was when i can get it to be used as an onlick i can try
to
> attach the onlick to pins in here for examplehttp://
creativemaps.vism.ag/la.htm

>
> ona further note, tried to add
>
>function RadiusWidget() {
>  var circle = new ...

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Markers and zIndex

2011-03-21 Thread Chris Broadfoot
On Mon, Mar 21, 2011 at 7:30 PM, sgiddings  wrote:

> One further - related - question : will dynamically changing the zIndex
> (via setZIndex) cause a redraw, visually raising or lowering the marker ?
>

Yes - did you try it?

-- 
http://twitter.com/broady

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Can I have a toggle onclick polyline 'filled' arc to surround a marker? Can I adapt Projected Overlay to have 2 toggles of layers?

2011-03-21 Thread geocode...@gmail.com
On Mar 21, 5:16 pm, Christopher Watson 
wrote:
> tried to attach to pins when clicked
>
> http://creativemaps.vism.ag/circle3.htm
>
> its probably way off but cant quite make the radius overlay display from an
> onclick. is it way off?

Don't you get a javascript error on that page?

Error: map is not defined
Source File: http://creativemaps.vism.ag/circle3.htm
Line: 99

  -- Larry

>
> well, my thinking was when i can get it to be used as an onlick i can try to
> attach the onlick to pins in here for 
> examplehttp://creativemaps.vism.ag/la.htm
>
> ona further note, tried to add
>
>        function RadiusWidget() {
>          var circle = new google.maps.Circle({
>            strokeWeight: 0  
>            fillcolor: #ff66ff
>          });
>
> but didnt work.
>
> can anyone help with the seperate javascript link to a function to display
> the circle overlay? or the colour styling of the circle overlay?

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Marker Position - google.maps.LatLng

2011-03-21 Thread Barry Hunter
If you are attempting to use the Geocoding API, to 'convert' these, then -
dont.

It instead runs a referese geocode on the coordinates- and may end up giving
a far away place.

The javascript to do the conversion yourself, isnt that difficult.

Example:
http://homepage.mac.com/bruno_andrighetto/JavaScript/DegreesMinutesSeconds.html

http://www.google.com/search?&q=degrees+minutes+seconds+to+decimal+degrees+javascript


On 21 March 2011 19:18, Loonis  wrote:

> Dear Experts,
>
> LatLng is driving me crazy... My base data is in degrees / minutes /
> seconds format and to create my markers on the google map, I convert
> this data into decimal values. This works perfect for most of my
> markers, but some markers being positioned in the middle of nowhere.
> Here some examples:
>
> Working perfect:
> Cologne: 50°52'2'',7°8'37'' => 50.8672,7.1436
> Paris: 49°0'46'',2°33'0''  => 49.0128,2.5500
> Bejing: 40°5'44'',116°35'18'' => 40.0956,116.5883
>
> Not working:
> Sevilla: 37°25'5'',5°53'35'' => 37.4181,5.8931
> Lisbon: 38°46'53'',9°8'9'' => 38.7814,9.1358
> Casablanca: 33°33'20'',7°39'40'' => 33.5556,7.6611
>
> Really can't figure out what the problem is, anyone got any idea?
> Thx for your help in advance!
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Can I have a toggle onclick polyline 'filled' arc to surround a marker? Can I adapt Projected Overlay to have 2 toggles of layers?

2011-03-21 Thread Christopher Watson
tried to attach to pins when clicked

http://creativemaps.vism.ag/circle3.htm

its probably way off but cant quite make the radius overlay display from an 
onclick. is it way off?

well, my thinking was when i can get it to be used as an onlick i can try to 
attach the onlick to pins in here for example 
http://creativemaps.vism.ag/la.htm

ona further note, tried to add 

   function RadiusWidget() {
 var circle = new google.maps.Circle({
   strokeWeight: 0   
   fillcolor: #ff66ff
 });

but didnt work. 

can anyone help with the seperate javascript link to a function to display 
the circle overlay? or the colour styling of the circle overlay?


-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: the feature Drag 'n' Zoom

2011-03-21 Thread Gary Little
Have you tried using the KeyDragZoom utility?

See http://google-maps-utility-library-v3.googlecode.com/svn/tags/keydragzoom/

Gary

On Mar 21, 3:42 am, Xenya  wrote:
> Hello,
> the original Google Map offers the feature "Drag 'n' Zoom". I want to use it
> at my own page with googlemaps. In the API I didn't found that
> functionality, the standard Control-Panels are only Navigation, MapType and
> Scale.
>
> Can I nevertheless use that feature?
>
> thx

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Tabbed Infowindows

2011-03-21 Thread Luke Mahé
function bindInfoWindow(marker, map, infoWindow, html) {
  google.maps.event.addListener(marker, 'click', function() {
google.maps.event.addListenerOnce(infoWindow, 'domready', function() {
  $("#tabs").tabs();
});
infoWindow.open(map, marker);
infoWindow.setContent(html);
  });
}

-- Luke


On Tue, Mar 22, 2011 at 7:32 AM, Edward wrote:

> Hi Luke,
>
> Am really grateful for the reply.  Is there any chance that I could beg
> some example code for this from you pleease.  it was as much as I could
> do to get it to work last time by cribbing other examples and doms and
> callbacks is way beyond me.
>
> thank you :)
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Can I have a toggle onclick polyline 'filled' arc to surround a marker? Can I adapt Projected Overlay to have 2 toggles of layers?

2011-03-21 Thread Christopher Watson
prob solved. 

i went searchign and found another http://creativemaps.vism.ag/circle2.htm

documentation here: http://code.google.com/apis/maps/articles/mvcfun.html

just updating as i go... going to try add the colour customing from the 
documentation and make a second one for longer distance. then see how to 
make them attach to pins when clicked.

hmm... keep fiddling and hopefully getting them to work. 

still curious about the second projected overlay mind you.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Multiple Markers, one infowindow: why?

2011-03-21 Thread thebit
Hello,
I yet tried to utilise setPosition() (you can see that in the source
code: it's commented) but does not works.
I do not how to do...

On 21 Mar, 21:07, chinhua kong  wrote:
> On Mon, Mar 21, 2011 at 2:23 PM, thebit  wrote:
> > Hello,
> > thank you for your answer.
> > The infowindow2 was coorectly definited, but I forgot to change name a
> > infowindow => infowindow2  when I wrote the code here.
> > So, I uploaded the page and you can view at this link:
> >http://thebit.altervista.org/maps/testAddMarker5_web.php
> > If you try to click onto a marker, the infowindow will open even in
> > the same coordinates.
> > I hope you can help me.
>
> Hi, if I understand you correctly, you want to know how to reposition the
> infowindow. Please use setPosition to reset your infowindow's lat,lng to
> your clicked marker's lat,lng
>
>
>
>
>
> > Thanks.
>
> > On 21 Mar, 14:22, Rossko  wrote:
> > > >                 google.maps.event.addListener(loadedMarker, 'click',
> > function()
> > > >                 {
> > > >                         infowindow2.open(map,loadedMarker);
>
> > > Where does infowindow2 get defined?  I'm suprised you get one at all,
> > > but then I can't see the whole context of your code snippet.
>
> > > You know the routine by now, a link to your problem map would give
> > > best responses for you.
>
> > --
> > 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
> > google-maps-js-api-v3@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-js-api-v3+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
> --
> Best and Regards,
> Chin Hua Kong

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Can I have a toggle onclick polyline 'filled' arc to surround a marker? Can I adapt Projected Overlay to have 2 toggles of layers?

2011-03-21 Thread Christopher Watson
ok had a go at circle. 


http://creativemaps.vism.ag/circle.htm

how can i use a different measurement? doesnt say below?

http://code.google.com/apis/maps/documentation/javascript/reference.html#CircleOptions

trying to make the diameter of the circle to 1320 feet... answers.com for a 
5minute walk. 

i tried converting to km working out at 0.402336 km. 

thanks

chris

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Trigger click event on KMLFeature

2011-03-21 Thread jacek.francuz
Thank you for the confirmation. My KML's are very complex. I have
tried to use GeoXML3 but with no luck - it use to take ages to
generate all the shapes and browsers abandon the script's execution. I
think I must leave this idea.

Thanks for your help

On Mar 21, 11:42 pm, "geocode...@gmail.com" 
wrote:
> On Mar 21, 3:33 pm, "jacek.francuz"  wrote:
>
> > Hi,
>
> > thanks for the prompt reply. Actually I wanted to use 'click' event
> > because KMLLayer has no 'mouseover' event defined for it. My idea was
> > to trigger programmatically 'click' event when mouse is  over the map
> > and check what KMLFeature the cursor is on.
>
> > I think it is impossible though :S
>
> With KmlLayer that is correct.
>
> How complex is your KML?  Have you looked at geoxml3?
>
> http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linkto.html...
>
>   -- Larry
>
>
>
>
>
>
>
>
>
> > On Mar 21, 11:24 pm, "geocode...@gmail.com" 
> > wrote:
>
> > > On Mar 21, 3:14 pm, "jacek.francuz"  wrote:
>
> > > > Hello,
>
> > > > is it possible to programmatically trigger click event for KMLFeature?
>
> > > No (at least not at present).
>
> > > > I need KMLMouseEvent to be passed to KMLLayer handler. If not, then
> > > > maybe it is possible to populate such a object or get reference to
> > > > KMLFeature objects?
>
> > > Have you looked at FusionTables?  You can fake the same action by
> > > querying the FusionTable and opening the same infowindow that would be
> > > opened on a click.  You can even import KML.
>
> > >  -- Larry
>
> > > > Thanks

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Trigger click event on KMLFeature

2011-03-21 Thread geocode...@gmail.com
On Mar 21, 3:33 pm, "jacek.francuz"  wrote:
> Hi,
>
> thanks for the prompt reply. Actually I wanted to use 'click' event
> because KMLLayer has no 'mouseover' event defined for it. My idea was
> to trigger programmatically 'click' event when mouse is  over the map
> and check what KMLFeature the cursor is on.
>
> I think it is impossible though :S

With KmlLayer that is correct.

How complex is your KML?  Have you looked at geoxml3?

http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linkto.html?filename=TrashDays40.xml

  -- Larry


>
> On Mar 21, 11:24 pm, "geocode...@gmail.com" 
> wrote:
>
> > On Mar 21, 3:14 pm, "jacek.francuz"  wrote:
>
> > > Hello,
>
> > > is it possible to programmatically trigger click event for KMLFeature?
>
> > No (at least not at present).
>
> > > I need KMLMouseEvent to be passed to KMLLayer handler. If not, then
> > > maybe it is possible to populate such a object or get reference to
> > > KMLFeature objects?
>
> > Have you looked at FusionTables?  You can fake the same action by
> > querying the FusionTable and opening the same infowindow that would be
> > opened on a click.  You can even import KML.
>
> >  -- Larry
>
> > > Thanks
>
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Markers don't all display in Firefox

2011-03-21 Thread geocode...@gmail.com
On Mar 21, 3:25 pm, Tim H  wrote:
> I have created a map where I can hide & display categories of markers with a
> tick box, however in FF only some of the markers are displayed.

Which ones don't appear?

> It works OK in Safari and Chrome.
>
> http://www.safeberths.com/testindex3.html
>
> Does anyone have any suggestions??


Have you investigated your javascript errors?\

Error: infowindow is not defined
Source File: http://www.safeberths.com/testindex3.html
Line: 165

  -- Larry


>
> Thank you

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Trigger click event on KMLFeature

2011-03-21 Thread jacek.francuz
Hi,

thanks for the prompt reply. Actually I wanted to use 'click' event
because KMLLayer has no 'mouseover' event defined for it. My idea was
to trigger programmatically 'click' event when mouse is  over the map
and check what KMLFeature the cursor is on.

I think it is impossible though :S



On Mar 21, 11:24 pm, "geocode...@gmail.com" 
wrote:
> On Mar 21, 3:14 pm, "jacek.francuz"  wrote:
>
> > Hello,
>
> > is it possible to programmatically trigger click event for KMLFeature?
>
> No (at least not at present).
>
> > I need KMLMouseEvent to be passed to KMLLayer handler. If not, then
> > maybe it is possible to populate such a object or get reference to
> > KMLFeature objects?
>
> Have you looked at FusionTables?  You can fake the same action by
> querying the FusionTable and opening the same infowindow that would be
> opened on a click.  You can even import KML.
>
>  -- Larry
>
>
>
>
>
>
>
>
>
> > Thanks

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Can I have a toggle onclick polyline 'filled' arc to surround a marker? Can I adapt Projected Overlay to have 2 toggles of layers?

2011-03-21 Thread Christopher Watson
http://gmaps-samples-v3.googlecode.com/svn/trunk/circle-overlay/circle-overlay.html

ok, went lookingf further saw this that looks really simple. will have ago 
at attaching to a onclick function. prob b back when stuck.

the projected overlay, i want to have a second layer to load on top of the 
projected overlay already there and have its own toggle button, is this 
possible?

so layers in projected overlay, and one to load on top of the other, both 
controlled by buttons to hide/view. 

hopefully bit clearer. i should review my writing more. sorry for confusion.


-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Markers don't all display in Firefox

2011-03-21 Thread Tim H
I have created a map where I can hide & display categories of markers with a 
tick box, however in FF only some of the markers are displayed. 
It works OK in Safari and Chrome.

http://www.safeberths.com/testindex3.html

Does anyone have any suggestions??

Thank you

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Trigger click event on KMLFeature

2011-03-21 Thread geocode...@gmail.com
On Mar 21, 3:14 pm, "jacek.francuz"  wrote:
> Hello,
>
> is it possible to programmatically trigger click event for KMLFeature?

No (at least not at present).

> I need KMLMouseEvent to be passed to KMLLayer handler. If not, then
> maybe it is possible to populate such a object or get reference to
> KMLFeature objects?

Have you looked at FusionTables?  You can fake the same action by
querying the FusionTable and opening the same infowindow that would be
opened on a click.  You can even import KML.

 -- Larry

>
> Thanks

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Marker Position - google.maps.LatLng

2011-03-21 Thread chinhua kong
Your Lat, Lng are wrong for the not working set. The right Lat, Lng should
be these
Sevilla: 37.387697, -6.001813
Lisbon: 38.725735, -9.150210
Casablanca: 33.5556, -7.631940

What Geocoding tools are you using? It seem like all the negative value is
been absoluted. Here  a link you can use
to view your lat, lng position on the map.



On Mon, Mar 21, 2011 at 3:18 PM, Loonis  wrote:

> Dear Experts,
>
> LatLng is driving me crazy... My base data is in degrees / minutes /
> seconds format and to create my markers on the google map, I convert
> this data into decimal values. This works perfect for most of my
> markers, but some markers being positioned in the middle of nowhere.
> Here some examples:
>
> Working perfect:
> Cologne: 50°52'2'',7°8'37'' => 50.8672,7.1436
> Paris: 49°0'46'',2°33'0''  => 49.0128,2.5500
> Bejing: 40°5'44'',116°35'18'' => 40.0956,116.5883
>
> Not working:
> Sevilla: 37°25'5'',5°53'35'' => 37.4181,5.8931
> Lisbon: 38°46'53'',9°8'9'' => 38.7814,9.1358
> Casablanca: 33°33'20'',7°39'40'' => 33.5556,7.6611
>
> Really can't figure out what the problem is, anyone got any idea?
> Thx for your help in advance!
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>


-- 
Best and Regards,
Chin Hua Kong

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Display panoramio layer inside infowindow

2011-03-21 Thread Tim H
Thank you very much barryhunter

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Trigger click event on KMLFeature

2011-03-21 Thread jacek.francuz
Hello,

is it possible to programmatically trigger click event for KMLFeature?
I need KMLMouseEvent to be passed to KMLLayer handler. If not, then
maybe it is possible to populate such a object or get reference to
KMLFeature objects?

Thanks

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Can I have a toggle onclick polyline 'filled' arc to surround a marker? Can I adapt Projected Overlay to have 2 toggles of layers?

2011-03-21 Thread Christopher Watson
http://gmaps-samples-v3.googlecode.com/svn/trunk/circle-overlay/circle-overlay.html

i saw this, can it just load when onclick event happens with any pin?

how could i work out the radius? does anyone know an estimate of walking 
distances for 5 mins average?

I want it to work as one coloured radius to depict 5mins walking distance 
from a location, and then a second toggle button to hide/view a second to 
depict 10 mins walking distance.

can i adjust the colours too and opacity level etc of the polyline arc?


The second projected overlay is a bus routes map/image that i'd like to be 
able hide/view?

i'd do actual directions for the routes but not sure how exact to the routes 
they take would work. so a second projected overlay straight from the bus 
route map will work.

hope you can help.

chris

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Can I have a toggle onclick polyline 'filled' arc to surround a marker? Can I adapt Projected Overlay to have 2 toggles of layers?

2011-03-21 Thread geocode...@gmail.com
On Mar 21, 2:56 pm, Christopher Watson 
wrote:
> i saw this, that has a few markers, but i'd only need the circle outline to
> surround 1 marker that is active?
>
> http://www.geocodezip.com/v3_polyline_example_arc.html
>
> also could it be filled and semi transparent overlay when active?

Sure.  The documentation explains all the parameters of polygons.

>
> how do i work out the radius?

Convert it to meters?  Or change the function to use whatever your
units of choice are.

>
> I want it to work as one coloured radius to depict 5mins walking distance
> from a location, and then a second toggle button to hide/view a second to
> depict 10 mins walking distance.
>
> can i adjust the colours too and opacity level etc of the polyline arc?

Yes. The documentation explains all the parameters of polylines.

>
> The second projected overlay is a bus routes map/image that i'd like to be
> able hide/view?

That isn't a question, even though it ends with a question mark.  What
trouble are you having doing that?

  -- Larry

>
> i'd do actual directions for the routes but not sure how exact to the routes
> they take would work. so a second projected overlay straight from the bus
> route map will work.
>
> hope you can help.
>
> chris

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Can I have a toggle onclick polyline 'filled' arc to surround a marker? Can I adapt Projected Overlay to have 2 toggles of layers?

2011-03-21 Thread Christopher Watson
i saw this, that has a few markers, but i'd only need the circle outline to 
surround 1 marker that is active?

http://www.geocodezip.com/v3_polyline_example_arc.html

also could it be filled and semi transparent overlay when active?

how do i work out the radius? 

I want it to work as one coloured radius to depict 5mins walking distance 
from a location, and then a second toggle button to hide/view a second to 
depict 10 mins walking distance. 

can i adjust the colours too and opacity level etc of the polyline arc?


The second projected overlay is a bus routes map/image that i'd like to be 
able hide/view?

i'd do actual directions for the routes but not sure how exact to the routes 
they take would work. so a second projected overlay straight from the bus 
route map will work.

hope you can help. 

chris

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: how to add listener to get bounds after mouse action

2011-03-21 Thread Rossko
> One post says that we can use idle. However the following code doesn't
> work except the first time when the page is loaded. Could any one
> kindly tell me how to add listener to get bounds after mouse action.
>
> google.maps.event.addListenerOnce(map, 'idle', function() { ...

Have you investigated the difference between addListenerOnce() and
addListener() ?
http://code.google.com/apis/maps/documentation/javascript/reference.html#MapsEventListener

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] how to add listener to get bounds after mouse action

2011-03-21 Thread Chris Broadfoot
On Tue, Mar 22, 2011 at 8:24 AM, wang Chen  wrote:

> google.maps.event.addListenerOnce(map, 'idle', function() {
>var mBound = this.getBounds();  });
>

Use addListener, not addListenerOnce. Read the docs here:
http://code.google.com/apis/maps/documentation/javascript/reference.html#event

-- 
http://twitter.com/broady

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] how to add listener to get bounds after mouse action

2011-03-21 Thread wang Chen
I'm trying to get new bounds after mouse action (zoom in/out, pan).
One post says that we can use idle. However the following code doesn't
work except the first time when the page is loaded. Could any one
kindly tell me how to add listener to get bounds after mouse action.

google.maps.event.addListenerOnce(map, 'idle', function() {
var mBound = this.getBounds();  });

Thanks a lot

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Problem in Android with zooming maps (multi-touch function won't work)

2011-03-21 Thread Chad Killingsworth
Here's the answer: 
http://code.google.com/p/gmaps-api-issues/issues/detail?id=2252

Chad Killingsworth

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Tabbed Infowindows

2011-03-21 Thread Edward
Hi Luke,

Am really grateful for the reply.  Is there any chance that I could beg some 
example code for this from you pleease.  it was as much as I could do to 
get it to work last time by cribbing other examples and doms and callbacks 
is way beyond me.

thank you :)

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Multiple Markers, one infowindow: why?

2011-03-21 Thread chinhua kong
On Mon, Mar 21, 2011 at 2:23 PM, thebit  wrote:

> Hello,
> thank you for your answer.
> The infowindow2 was coorectly definited, but I forgot to change name a
> infowindow => infowindow2  when I wrote the code here.
> So, I uploaded the page and you can view at this link:
> http://thebit.altervista.org/maps/testAddMarker5_web.php
> If you try to click onto a marker, the infowindow will open even in
> the same coordinates.
> I hope you can help me.
>
Hi, if I understand you correctly, you want to know how to reposition the
infowindow. Please use setPosition to reset your infowindow's lat,lng to
your clicked marker's lat,lng

>
> Thanks.
>
> On 21 Mar, 14:22, Rossko  wrote:
> > > google.maps.event.addListener(loadedMarker, 'click',
> function()
> > > {
> > > infowindow2.open(map,loadedMarker);
> >
> > Where does infowindow2 get defined?  I'm suprised you get one at all,
> > but then I can't see the whole context of your code snippet.
> >
> > You know the routine by now, a link to your problem map would give
> > best responses for you.
>
> --
> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>


-- 
Best and Regards,
Chin Hua Kong

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Marker Position - google.maps.LatLng

2011-03-21 Thread Loonis
Dear Experts,

LatLng is driving me crazy... My base data is in degrees / minutes /
seconds format and to create my markers on the google map, I convert
this data into decimal values. This works perfect for most of my
markers, but some markers being positioned in the middle of nowhere.
Here some examples:

Working perfect:
Cologne: 50°52'2'',7°8'37'' => 50.8672,7.1436
Paris: 49°0'46'',2°33'0''  => 49.0128,2.5500
Bejing: 40°5'44'',116°35'18'' => 40.0956,116.5883

Not working:
Sevilla: 37°25'5'',5°53'35'' => 37.4181,5.8931
Lisbon: 38°46'53'',9°8'9'' => 38.7814,9.1358
Casablanca: 33°33'20'',7°39'40'' => 33.5556,7.6611

Really can't figure out what the problem is, anyone got any idea?
Thx for your help in advance!

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] v3 StreetViewPanorama performances issue

2011-03-21 Thread Remi Grumeau
Hi group!

I've been thru a couple of v3 API StreetViewPanorama tests lately and i've 
noticed a couple of issues with it:
- Only Chrome on PC renders a 3D effect. On all others, it's just a 2D image 
sliding ... even Chrome OSX ! Is that supposed to change soon?
- Adding a custom line + custom panorama is quick and easy... but with 
actual API, it's just a PIA to put a link to it on different locations (when 
on cross streets for example, or plazza).
- To avoid previous issue, i'm using markers with setPano(). But markers on 
a StreetViewPanorama has a HUGE performance issue compare to the same with 
lines only : (

Are we gonna have a StreetView stunning 3D look'n'feel in custom panorama 
soon? 
Are you aware of this marker performance issue?

Cheers

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Display panoramio layer inside infowindow

2011-03-21 Thread Barry Hunter
>
> 2 - The toggle button works well. Can I make the default as "off", so the
> user has to click the button to view the images?

Just comment out (or remove!) the


  panoramioLayer.setMap(map);


line. That way the layer is never added to the map in the first place.
(it will still be added as required by the click listener.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Tile Loading Performance

2011-03-21 Thread Rossko
> If this is the case, out of curiosity how does the API do this?  Does
> it implement a queue of tile requests and as tiles load it pulls more
> tile requests from the queue?

This older post gives a bit of detail
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/74250267bbe2ed1b/e473a31a4121c432

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Tile Loading Performance

2011-03-21 Thread Jonas
I'm working on a little project that uses the Google Maps API v3 and I
have a custom tile set that I'm using.  Right now I'm working on
improving performance and it would help to get a better idea of how
Google Maps does the tile loading.  Does the API abort tile loading if
the user has zoomed or panned away from the area?  My tiles take a bit
to load so I'm hoping the API aborts tiles that are no longer needed.

If this is the case, out of curiosity how does the API do this?  Does
it implement a queue of tile requests and as tiles load it pulls more
tile requests from the queue?  Or does it put all the requested tiles
right in the DOM at the start and have some sort of method to abort
them if needed?  Thanks for your help!

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Multiple Markers, one infowindow: why?

2011-03-21 Thread geocode...@gmail.com
On Mar 21, 11:23 am, thebit  wrote:
> Hello,
> thank you for your answer.
> The infowindow2 was coorectly definited, but I forgot to change name a
> infowindow => infowindow2  when I wrote the code here.

Which is why I don't read posted code anymore...

> So, I uploaded the page and you can view at this 
> link:http://thebit.altervista.org/maps/testAddMarker5_web.php
> If you try to click onto a marker, the infowindow will open even in
> the same coordinates.

Sounds (and looks) like pitfall #3 in Mike Williams' (v2) tutorial:
http://groups.google.com/group/google-maps-js-api-v3/search?group=google-maps-js-api-v3&q=pitfall+%233&qt_g=Search+this+group

  -- Larry

> I hope you can help me.
>
> Thanks.
>
> On 21 Mar, 14:22, Rossko  wrote:
>
> > >                 google.maps.event.addListener(loadedMarker, 'click', 
> > > function()
> > >                 {
> > >                         infowindow2.open(map,loadedMarker);
>
> > Where does infowindow2 get defined?  I'm suprised you get one at all,
> > but then I can't see the whole context of your code snippet.
>
> > You know the routine by now, a link to your problem map would give
> > best responses for you.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Multiple Markers, one infowindow: why?

2011-03-21 Thread thebit
Hello,
thank you for your answer.
The infowindow2 was coorectly definited, but I forgot to change name a
infowindow => infowindow2  when I wrote the code here.
So, I uploaded the page and you can view at this link:
http://thebit.altervista.org/maps/testAddMarker5_web.php
If you try to click onto a marker, the infowindow will open even in
the same coordinates.
I hope you can help me.

Thanks.

On 21 Mar, 14:22, Rossko  wrote:
> >                 google.maps.event.addListener(loadedMarker, 'click', 
> > function()
> >                 {
> >                         infowindow2.open(map,loadedMarker);
>
> Where does infowindow2 get defined?  I'm suprised you get one at all,
> but then I can't see the whole context of your code snippet.
>
> You know the routine by now, a link to your problem map would give
> best responses for you.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Missing Marker on high Zoom level

2011-03-21 Thread Benjamin PALMYRE
finaly i've find a trick : i'ev added "optimized:false" in the markers 
options, it solved my problem

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Missing Marker on high Zoom level

2011-03-21 Thread Benjamin PALMYRE
Hi ! i've exactly the same problem with IE7/8, example here : 
http://www.avant-pays-savoyard-tourisme.com/carte/sitraEVE569917_randonnee-un-petit-tour-du-cote-de-l-an-mil.html
The marker sometimes not appear with IE, sometimes when i change the zoom 
level i can see it or not...
It works on Firefox...
Any idea ?

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Remove circle (noob alert!)

2011-03-21 Thread geocode...@gmail.com
On Mar 21, 6:39 am, richard cranium 
wrote:
> I have a page with a circle, when clicked I zoom to centre and remove
> circle (to get rid of the shading)  Currently doing that by
> circle.setRadius(0); Is that the best way to do it or should I
> completely "kill" the circle somehow?  I guess a similar query might
> arise for other features.

The usual way is .setMap(null) [works with most v3 objects]

  -- Larry

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Remove circle (noob alert!)

2011-03-21 Thread richard cranium
I have a page with a circle, when clicked I zoom to centre and remove circle 
(to get rid of the shading)  Currently doing that by circle.setRadius(0); Is 
that the best way to do it or should I completely "kill" the circle 
somehow?  I guess a similar query might arise for other features.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Multiple Markers, one infowindow: why?

2011-03-21 Thread Rossko
>                 google.maps.event.addListener(loadedMarker, 'click', 
> function()
>                 {
>                         infowindow2.open(map,loadedMarker);

Where does infowindow2 get defined?  I'm suprised you get one at all,
but then I can't see the whole context of your code snippet.

You know the routine by now, a link to your problem map would give
best responses for you.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Missing Marker on high Zoom level

2011-03-21 Thread geocode...@gmail.com
On Mar 21, 2:20 am, Markus  wrote:
> Only a Problem with internet Explorer.

I get this in Chrome:
infobox.js  Failed to load resource: the server responded with a
status of 404 (Not Found)

I see two markers in IE, one red and one the default red marker with a
dot.

  -- Larry

>
> On 21 Mrz., 09:31, Markus  wrote:
>
>
>
>
>
>
>
> > No Idea?

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: the feature Drag 'n' Zoom

2011-03-21 Thread barryhunter
http://www.google.com/search?q=google+maps+api+v3+dragzoom

On Mar 21, 10:42 am, Xenya  wrote:
> Hello,
> the original Google Map offers the feature "Drag 'n' Zoom". I want to use it
> at my own page with googlemaps. In the API I didn't found that
> functionality, the standard Control-Panels are only Navigation, MapType and
> Scale.
>
> Can I nevertheless use that feature?
>
> thx

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Problem in Android with zooming maps (multi-touch function won't work)

2011-03-21 Thread Albert Jang
I put the google maps in Android device for test. The scrolling works
well, but the zooming in/out (with 2 fingers) isn't functional
properly. Does anyone have same or similar experience? Or anyone knows
the answer?

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Markers becoming invisible

2011-03-21 Thread suricatecan
An important thing: It only happens in IE.
In my case, IE8.

suricatecan

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Multiple Markers, one infowindow: why?

2011-03-21 Thread thebit
Hello,
I wrote the following JS function which load all saved Markers and
show them onto a map.
All this works, but if I click over a marker, the infowindows is even
open in others coordinates.

Please, look this code:
*
function getSavedMarkers()

{

$.post("LoadCoordinate.php", function(data)

{

var loadCoordinates = data;



var i=0;

for(i=0; i'+
'';
var infowindow = new google.maps.InfoWindow(
{
content: tooltip2,
//position: getPosition(loadCoordinates[2]['lat'],
loadCoordinates[2]['lng'])
//position: loadedMarker.getPosition()
position: new 
google.maps.LatLng(loadCoordinates[2]['lat'],
loadCoordinates[2]['lng'])
});

google.maps.event.addListener(loadedMarker, 'click', function()
{
infowindow2.open(map,loadedMarker);
//infowindow2.setPosition(loadedMarker.getPosition());
});


}

}, "json");
**

Why does not correctly set the position?
I tried in many way (look the commented lines) but the infowindow was
opened in the coordinates of the last marker loaded.

I hope you can help me.
Thankyou in advance.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] the feature Drag 'n' Zoom

2011-03-21 Thread Xenya
Hello,
the original Google Map offers the feature "Drag 'n' Zoom". I want to use it 
at my own page with googlemaps. In the API I didn't found that 
functionality, the standard Control-Panels are only Navigation, MapType and 
Scale.
 
Can I nevertheless use that feature?
 
thx

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: redirect origin window

2011-03-21 Thread duderion
hi larry, thanks for your help...ill post my example as soon as i'm
back home

On 14 Mrz., 11:45, "geocode...@gmail.com" 
wrote:
> On Mar 14, 3:33 am, duderion  wrote:
>
> > the problem / question is: Is javascript code working in a window
> > (which opens after cklicking on a marker) in googlemaps ??
> > or just plain html
>
> I can run javascript in the click listener.  I have also put links
> that execute javascript in infowindows.  So I still don't understand
> your problem.
>
> Do you have an example?
>
>   -- Larry
>
>
>
> > greets
>
> > On 13 Mrz., 03:24, "geocode...@gmail.com" 
> > wrote:
>
> > > On Mar 12, 2:54 pm, duderion  wrote:
>
> > > > hi guys,
> > > >  i'd like to redirect my origin page to another link if a marker in
> > > > the google map is clicked, but it seems like i cannot reach the
> > > > top.window object via google maps javascript top.window, as the
> > > > google maps windows marker html content doesnt support javascript
> > > > at all in it's html' content.
>
> > > Do you have an example?
> > > I don't understand your problem (if you are using the Google Maps
> > > Javascript API v3, the topic of this group).
>
> > >   -- Larry
>
> > > > is there a possibility ? i dont see any other possibilities beside
> > > > javascript or html itself
>
> > > > greets
> > > > the captain

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Missing Marker on high Zoom level

2011-03-21 Thread Markus
Only a Problem with internet Explorer.

On 21 Mrz., 09:31, Markus  wrote:
> No Idea?

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Display panoramio layer inside infowindow

2011-03-21 Thread Tim H
Thank Chris.

1 - Re Panoramio in info window. This was because I didn't want a map 
covered in photos, but when a marker is clicked a small map appears in the 
info window with all the photos for that location;

However I agree with you and simply having a toggle button is probably a 
better user experience. Thanks.


2 - The toggle button works well. Can I make the default as "off", so the 
user has to click the button to view the images?


-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Serious flaw in API

2011-03-21 Thread roberto.cr
touché! heheheh
I didn't know there was a special way to asynchronously call the API,
it's good to know.

On Mar 21, 3:24 am, Luke Mahé  wrote:
> If you append &callback=myCallback 
> tohttp://maps.google.com/maps/api/js?sensor=falsethen the script will be
> added how you mention and will call the callback when the script has been
> loaded. 
> Seehttp://code.google.com/apis/maps/documentation/javascript/basics.html...
>
> -- Luke
>
>
>
>
>
>
>
> On Mon, Mar 21, 2011 at 5:21 PM, Todd Moyer  wrote:
> > The code found here:
> >http://maps.google.com/maps/api/js?sensor=false
>
> > Uses document.write()!  ARGGGH!!!
>
> > This will overwrite the entire page if anyone tries to initialize the
> > API after the page has loaded.
>
> > PLEASE change this:
>
> > function getScript(src) {
> >    document.write('<' + 'script src="' + src + '"' + ' type="text/
> > javascript"><' + '/script>');
> > }
>
> > To this:
>
> > function getScript(src) {
> >    var scrpNde = document.createElement('script');
> >    scrpNde.setAttribute('type', 'text/javascript');
> >    scrpNde.setAttribute('src', src);
> >    var head = document.getElementsByTagName('head').item(0);
> >    head.appendChild(scrpNde);
> > }
>
> > Or something like that that does not use document.write.
>
> > This is killing my AJAX application.
>
> > The W3C will back me up on this. Here's what they have to say about
> > document.write:
>
> > "Try to avoid using document.write() in real life JavaScript code. The
> > entire HTML page will be overwritten if document.write() is used
> > inside a function, or after the page is loaded. However,
> > document.write() is an easy way to demonstrate JavaScript output in a
> > tutorial."
>
> > I'm surprised the smart folks at Google Maps would make this
> > mistake. :)
>
> > I can overwrite the document.write method, but that just feels like a
> > dirty solution.
>
> > --
> > 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
> > google-maps-js-api-v3@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-js-api-v3+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Missing Marker on high Zoom level

2011-03-21 Thread Markus
No Idea?

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Markers and zIndex

2011-03-21 Thread sgiddings
Hi Chris,

Thanks for the clarification.
One further - related - question : will dynamically changing the zIndex (via 
setZIndex) cause a redraw, visually raising or lowering the marker ?

Simon

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Mobile maps: controlling controls' size

2011-03-21 Thread Giac
 

Hello everybody, I tried to add a custom control (called “Info”) to a map 
using divs: it shows with the right size (the same size of the google maps 
default controls) when I see the map using a computer ( 
http://www.mastercomunicazionestorica.it/geo/controllip.html ) but when I 
access the same map through a mobile device, Google maps default controls 
become bigger while my custom control remains of the same size (smaller in 
respect to google default controls: 
http://www.mastercomunicazionestorica.it/geo/controls.jpg ): how can I avoid 
this problem, making my custom control of the same size than the default 
controls when accessing the map through a mobile device? Thanks for helping 
me,best,

Giac

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Markers and zIndex

2011-03-21 Thread Chris Broadfoot
(originally posted to the wrong thread :)

Unfortunately it is not feasible to put draggable markers below canvas
markers.

So, unless you want all your draggable markers above canvas markers, it's
necessary to specify optimized: false when creating your non-draggable
markers.

Hope this helps,
Chris

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Display panoramio layer inside infowindow

2011-03-21 Thread Chris Broadfoot
>
> 1 - Is it possible to display a map with the Panoramio layer visible on a
> small map within an info window?
>

Yes, but why?! I can't possibly imagine that this would be a good user
experience.


> 2 - Is it possible to make a button or similar which enables users to
> toggle on and off the panoramio layer?
>

Definitely:
http://geoapis.appspot.com/agdnZW9hcGlzchMLEgtFeGFtcGxlQ29kZRj50gEM

-- 
http://twitter.com/broady

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.