[Google Maps API v3] Re: Trace how far the two points..

2011-04-13 Thread en4ce
your welcome, you can check my page as well, these things are in
there www.youspots.com

On 12 Apr., 17:25, jemmy puerto jemjems1...@gmail.com wrote:
 aha... thank you very much.. ^^..







 On Tue, Apr 12, 2011 at 6:51 PM, en4ce djen...@googlemail.com wrote:
  no, 'd' is in meter so:

  storeddistance = d

  if (storeddistance =1000)
  {
   storedistanceNew_inkm=(d/1000);
   storedistanceNew_inmiles = (storedistanceNew_inkm/1610);
  }

  i hope thats self explanatory

  On 12 Apr., 11:15, jemmy puerto jemjems1...@gmail.com wrote:
   ah... the result is or the value of 'd' is kilometer?

   On Mon, Apr 4, 2011 at 5:24 PM, en4ce djen...@googlemail.com wrote:
you can do it like this:

google.maps.LatLng.prototype.distanceFrom = function(newLatLng)
 {
   var R = 6371000;
   var lat1 = this.lat();
   var lon1 = this.lng();
   var lat2 = newLatLng.lat();
   var lon2 = newLatLng.lng();
   var dLat = (lat2-lat1) * Math.PI / 180;
   var dLon = (lon2-lon1) * Math.PI / 180;
   var a = Math.sin(dLat/2) * Math.sin(dLat/2) + Math.cos(lat1 *
Math.PI / 180 ) * Math.cos(lat2 * Math.PI / 180 ) * Math.sin(dLon/2) *
Math.sin(dLon/2);
   var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a));
   var d = R * c;
   return d;
 }

On 4 Apr., 10:17, Andreas Sommer andreas.somme...@googlemail.com
wrote:
 Just search for Haversine distance and you will find many example
 implementations for JavaScript. If you want to be compatible with
 distances calculated by GMaps V2 API (old API included a function to
 calculate distances), you should use an equatorial radius of
  6378137m.

 On 04.04.2011 10:09, jem wrote:

  Is it posible to know the distance of two particular points in
  terms
  of kilometer or miles?

--
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.

-- 
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: Polygons not rendering

2011-04-13 Thread Rossko
 Polygons do not render anymore in 3.4 (works well on all previous versions)

Here is one that works for me
http://code.google.com/apis/maps/documentation/javascript/examples/polygon-simple.html
perhaps the problem is in your webpage or browser ?

-- 
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] Polylines not visible in Firefox. But they are present on the map.

2011-04-13 Thread kredittkort
I've got a problem with my polylines which are not showing up in firefox 4 
or in chrome, they are working fine in internet explorer 7 and 8.
Link to the map is here: http://aventit.com/flight/mapajax.php

The problem suddenly appeared today, I've had no such problem earlier.

The polylines are actually present, the mouseover infobox pops up when I'm 
over the invisible line, and a div shows up when I click it.
I've gone through my code over and over without finding anything that could 
cause this.

Any ideas
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] Polylines invisible in Firefox and Chrome, polylines are present in map.

2011-04-13 Thread kreditt
I've got a problem with my polylines which are not showing up in firefox 4 
or in chrome, they are working fine in internet explorer 7 and 8.
Link to the map is here: http://aventit.com/flight/mapajax.php

The problem suddenly appeared today, I've had no such problem earlier.

The polylines are actually present, the mouseover infobox pops up when I'm 
over the invisible line, and a div shows up when I click it.
I've gone through my code over and over without finding anything that could 
cause this.
You need to choose an airport or airline in the bottom to get the polylines 
and markers to show.

Any ideas

-- 
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] Polylines invisible in Firefox and Chrome, polylines are present in map.

2011-04-13 Thread Andrew Leach
On 13 April 2011 11:22, kreditt kredittk...@gmail.com wrote:

 Any ideas

Use a specific version (eg 3.3) instead of the nightly build. What
happens if you do that?

-- 
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] Polylines invisible in Firefox and Chrome, polylines are present in map.

2011-04-13 Thread kreditt
It's actually working by using 3.3.

Thank you very much.

-- 
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] Polylines invisible in Firefox and Chrome, polylines are present in map.

2011-04-13 Thread Andrew Leach
On 13 April 2011 11:40, kreditt kredittk...@gmail.com wrote:
 It's actually working by using 3.3.

 Thank you very much.

You're very welcome :-) Actually you may consider raising an issue
against today's version of the API.

Include as much detail as possible (eg browser versions), and provide
a demonstrator page (doing that should be easy). Make sure your report
also includes the date!

-- 
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: Polygons not rendering

2011-04-13 Thread geocode...@gmail.com
On Apr 13, 2:02 am, Rossko ros...@culzean.clara.co.uk wrote:
  Polygons do not render anymore in 3.4 (works well on all previous versions)

 Here is one that works for 
 mehttp://code.google.com/apis/maps/documentation/javascript/examples/po...

All mine still work (at least all the ones I looked at), here is one:
http://www.geocodezip.com/v3_polygon_exampleF.html

  -- Larry


 perhaps the problem is in your webpage or browser ?

-- 
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: 2011/2/18 - New Release

2011-04-13 Thread Barry Hunter
On 12 April 2011 17:14, Mike Dolbow mike.dol...@state.mn.us wrote:
 Actually, I LIKE the fix as described by Chris: Labels are now on by
 default when Satellite mode clicked from map type
 control. To me, that's what the majority of users want when they
 click onSatellite: the aerial/satellite imagery beneath the labels,
 that provide critical context. Without that context, many users would
 be lost on the map. That's been the default behavior you get on the
 main maps.google.com page for years. I wanted to post here to say
 bravo to this change, because I set my mashups back to 3.3 until it
 took place.

 But of course, you still have the option to create what you call a
 clean map: just set your default 'mapTypeId:
 google.maps.MapTypeId.SATELLITE' in your mapoptions.

That doesnt work it you want to open in map mode (or other custom map
type), but allow switching to satalite (only).

If you add SATELLITE to mapTypeIds (even *without* HYBRID) then you
still get labels enabled when switching :(

Its not just 'by default' - its on automatically, if you want it or not :)

-- 
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] Get a map of google maps

2011-04-13 Thread Manuel Antonio Mora Sandoval
Hi Chris

I haven't a map, is for this that I need a map with the proportions of the
Mercator projection

I need a map with the Mercator projection, more or less big (1900x1900 I
believe) and the which I can modify the colors and legends.

Thanks for you help Chris

2011/4/12 Chris Broadfoot c...@google.com

 Oh right! You have your own custom map already? I'm not sure what you're
 asking.

 For each zoom level, you'll need to be able to provide 256x256 tiles.
 You're not necessarily tied to Mercator projection, but the Google roadmap
 and satellite tiles *are* Mercator.

 Chris


 On Tue, Apr 12, 2011 at 11:22 PM, Manuel Antonio Mora Sandoval 
 mams@gmail.com wrote:

 Hi.

 For my case, I only need a map with Marcator Projection, to use like a map
 customizable (
 http://code.google.com/intl/es/apis/maps/documentation/javascript/overlays.html#MapTypeInterface),
 but I don't find a map for can to use (with the dimensions like the of
 google maps).

 Where I can find a map so???

 Thanks for help my

 2011/4/11 Chris Broadfoot c...@google.com

 You can't, not without a premier license. See restrictions:
 http://code.google.com/apis/maps/documentation/staticmaps/#Imagesizes

 --
 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.


  --
 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.




 --
 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.


-- 
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: Advice please - Custom map for a flat game world

2011-04-13 Thread Brian David
Greetings...  Blake...   I've wondered about this for about as long as this 
thread is old.   You have some wonderful work here.

I am nowhere near as capable of these things so I humbly ask and wonder if 
someone actually needed 2 simple static maps... made into Google maps,,, 
assigned to a api  for use with a key in a mission assignment/ event based 
posting application.   Where would one go to achieve these results?  Is this 
something that can easily be done?  Our maps are given plenty of elements to 
support your proposed ideas in this thread.  I would of course be available 
and dedicated to achieve the desired results in whatever capacity that I am 
able. 
I am  in need of a dynamic element created for a Bohemia Interactive MILSIM 
training platform where users may be able to coordinate with a Google map of 
a static environment using the MILSIM battle-space on a networked website.

If this is a discussion that you might be interested in having with me you 
can contact me anytime if not however, it is not my intention to impose 
myself upon others.   

Thanks for reading

B.David

-- 
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 with zooming and moving and setIcon

2011-04-13 Thread Ebpo
Thanks for your reply.

I looked at your code, and I agree that it seems simpler.

The reason why I'm using 3 different images is to get an optimal quality. As 
you can see in your example, if you zoom in a lot (or out a lot for that 
matters), the image gets all pixely. The map I'm working on will get zoom 
in real close by the visitors.

Do you have any idea why setIcon would cause such a problem? Should I open a 
bug case?

Thanks again for your time.

-- 
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] Safari, iphone 4 style of info window from KML

2011-04-13 Thread Thoern
Funny thing when testing a htm file with a style with textsize etc it
works fine for both markers and kml info windows when klicking objects
in the map.
The text in the infowindow is cleraly affected.
Anyhow when trying the same webpage in a iphone w safari it only wokrs
on markers info window.
The infowindow of the kml file is unaffected..

I used the html element to style the infowindows.

html { height: 100%; font-family:Arial; font-size:0.5em; font-
weight:normal; }


Is this some css/safari issue or what do you think?
any ideas about what to do instead?
I dont want to style all text the same manner.

-- 
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: Polylines invisible in Firefox and Chrome, polylines are present in map.

2011-04-13 Thread en4ce
yeah because else you always have to stick to 3.3, so switching
version back is not the best solution

On 13 Apr., 12:53, Andrew Leach andrew.leac...@gmail.com wrote:
 On 13 April 2011 11:40, kreditt kredittk...@gmail.com wrote:

  It's actually working by using 3.3.

  Thank you very much.

 You're very welcome :-) Actually you may consider raising an issue
 against today's version of the API.

 Include as much detail as possible (eg browser versions), and provide
 a demonstrator page (doing that should be easy). Make sure your report
 also includes the date!

-- 
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: Polylines invisible in Firefox and Chrome, polylines are present in map.

2011-04-13 Thread geocode...@gmail.com
On Apr 13, 6:51 am, en4ce djen...@googlemail.com wrote:
 yeah because else you always have to stick to 3.3, so switching
 version back is not the best solution

And eventually v3.3 will be retired (like Version 3.0 and 3.1 have
been retired)
http://code.google.com/apis/maps/documentation/javascript/basics.html#VersionTypes

  -- Larry


 On 13 Apr., 12:53, Andrew Leach andrew.leac...@gmail.com wrote:

  On 13 April 2011 11:40, kreditt kredittk...@gmail.com wrote:

   It's actually working by using 3.3.

   Thank you very much.

  You're very welcome :-) Actually you may consider raising an issue
  against today's version of the API.

  Include as much detail as possible (eg browser versions), and provide
  a demonstrator page (doing that should be easy). Make sure your report
  also includes the date!



-- 
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: Polylines invisible in Firefox and Chrome, polylines are present in map.

2011-04-13 Thread en4ce
haha, thats the Cherie on top :-P

On 13 Apr., 16:13, geocode...@gmail.com geocode...@gmail.com
wrote:
 On Apr 13, 6:51 am, en4ce djen...@googlemail.com wrote:

  yeah because else you always have to stick to 3.3, so switching
  version back is not the best solution

 And eventually v3.3 will be retired (like Version 3.0 and 3.1 have
 been 
 retired)http://code.google.com/apis/maps/documentation/javascript/basics.html...

   -- Larry









  On 13 Apr., 12:53, Andrew Leach andrew.leac...@gmail.com wrote:

   On 13 April 2011 11:40, kreditt kredittk...@gmail.com wrote:

It's actually working by using 3.3.

Thank you very much.

   You're very welcome :-) Actually you may consider raising an issue
   against today's version of the API.

   Include as much detail as possible (eg browser versions), and provide
   a demonstrator page (doing that should be easy). Make sure your report
   also includes the date!

-- 
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: Polylines invisible in Firefox and Chrome, polylines are present in map.

2011-04-13 Thread Andrew Leach
On 13 April 2011 15:13, geocode...@gmail.com geocode...@gmail.com wrote:

 And eventually v3.3 will be retired (like Version 3.0 and 3.1 have
 been retired)
 http://code.google.com/apis/maps/documentation/javascript/basics.html#VersionTypes

Yes. That's why it's important to raise an issue, so it doesn't get
retired before the problem with the next version is fixed. For the
moment, though, to get the live site to work correctly it's necessary
to specify a version which works.

-- 
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] Transarent PNG marker cluster symbols in IE7

2011-04-13 Thread Mike Dolbow
I just learned about this today when testing some print previews on my 
mashups. In this one, I use marker cluster symbols:
http://gis.mda.state.mn.us/maps/earlydetection.htm (select Meadow Knapweed 
on the left to see a cluster)

I use some custom cluster PNGs, as well as one from the cluster trunk: 
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/images/m2.png

When I call the image up in a browser (I test IE7 and FF 3.4, since most of 
my clients have those), both of them show the PNG just fine in print 
preview. But IE7 doesn't show the cluster symbols (only the number) in print 
preview. The only reference to something similar I've found in groups is 
this topic:
https://groups.google.com/d/topic/google-maps-api/_-mg0I6EFXo/discussion

Anyone come across this? If so, can you explain how to implement Econym's 
solution more fully? Why will a browser print-preview a PNG file just fine 
on its own, but not when overlaid on a map? 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] Re: 2011/2/18 - New Release

2011-04-13 Thread Mike Dolbow
Yup, you're right - my solution only works if you want to *start *in 
SATELLITE mode. And the behavior you describe is what I *prefer *for 
automatic behavior. And I suspect we could poll users and get 50% of them 
agreeing with me, 50% agreeing with you. But I always go back to how it 
generally appears in maps.google.com as how my users will *expect *it to 
work. (Even though the switching mechanism is slightly different in 
maps.google.com now, with the bigger buttons, when you switch to Satellite 
view, you get labels on by default.)

The only way I know how to accomplish what you're looking for is to point to 
version 3.3 and add the following to your map options:

  mapTypeControlOptions: {
 mapTypeIds: [google.maps.MapTypeId.ROADMAP, 
google.maps.MapTypeId.SATELLITE]
},

With version 3.3, even if you start at ROADMAP type, the above 
typecontroloptions will get you your clean Satellite look.

-- 
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: Polygons not rendering

2011-04-13 Thread scotiasystems
I'm seeing problems with circles too?   I've had to force v=3.3 to get the 
circles appearing on  http://www.seekatweet.com  ?  Here's an example using 
3.4  http://www.seekatweet.com/circlesv3.4.html which doesn't show the 
search radius..

-- 
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: Polygons not rendering

2011-04-13 Thread geocode...@gmail.com
On Apr 13, 9:05 am, scotiasystems ngun...@googlemail.com wrote:
 I'm seeing problems with circles too?   I've had to force v=3.3 to get the
 circles appearing on  http://www.seekatweet.com ?  Here's an example using
 3.4  http://www.seekatweet.com/circlesv3.4.htmlwhich doesn't show the
 search radius..

I get a javascript error on that page:

Error: map.setzoom is not a function
Source File: http://www.seekatweet.com/circlesv3.4.html
Line: 0

(javascript is case sensitive, should be setZoom)

  -- 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] Re: Polygons not rendering

2011-04-13 Thread scotiasystems
Thanks Larry - fixed that now!

I'm still not seeing the circles though?   I noticed in the release notes 
for 3.4 there's a mention of a fix of zIndex for circles - wonder if that's 
related?

-- 
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] obligatory ads in google maps

2011-04-13 Thread chris marx
From the latest post over at the geo developers blog - 
http://googlegeodevelopers.blogspot.com/2011/04/updates-to-google-maps-apigoogle-earth.html
it would seem that users of the free google maps api will now no longer have 
a choice as to whether to include ad layers or ad information on their maps. 
The blog doesn't really reveal in what form these ads might be displayed, 
but as a user of the maps api, primarily for display or collection of 
scientific data, I really don't want my users being distracted or worse, 
confused by such advertising. Unfortunately we're not 501c3, but we're not 
making money on these apps either. 

I see that we would qualify as an existing app, and as such could opt-out 
as a grandfathered application, but I feel like this decision could very 
well alienate both future users, making them groan when they see a google 
map in an application, knowing they'll need to ignore ads, and developers, 
who are going to start putting energy into other mapping platforms (of which 
there are now several really good alternatives) , especially when it comes 
to using maps in applications where a user is logged in, and expects that 
the information on the map is coming from that application. 

I hope that perhaps these points might be moot, if a design is reached that 
provides apps in a very unobtrusive way, but I'm wondering how others feel 
about this, and whether it would be worth starting a public petition to 
either reveal the designs for these new ads, or to stop this process 
altogether. 


-- 
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] [bug] Polygons not rendering

2011-04-13 Thread sparc
Polygons do not render anymore in 3.4 (works well on all previous versions)

-- 
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] Adding id to each image tile of an overlay

2011-04-13 Thread Matt Alonso
Hi All,

I am creating some custom overlays and I was wondering if there is a
way to add an id to each image tile so that I can specifically
reference it in some subsequent JS.

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] to find if latitude longitude stored in table lie within a polygon

2011-04-13 Thread vijay shanker
i want to search the existing database latitude longitude points
inside a polygon.
i am passing array of lat lng points in a javascript function which i
convert to a GLatLng object inside, then question is:
 if i retrieve bounds of the polygon using getbounds() can i use the
returned GLatLng object (say polylatlngobj )with the GLatLng object i
had constructed (say mylatlngobj) via this method,
 mylatlngobj.containsLatLng(polylatlngobj) which if i am correct so
far should return me a bool if my point is inside polygon or false
otherwise.. is this a correct way..

second question is.. as i hav many such points in my db.. and i am
calling that function using onclick() from a php script.. how am i to
retrieve the result  back into my script...
regards
John Nash

-- 
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] google maps api v3 open infowindow

2011-04-13 Thread tommaso
Hello,
i'm looking to resolve this issue:
i made this page http://www.unforgettablerome.it/prova5.html with 3
marker and infowindow.

i would like that when the page load come out one infowindow that is
allready in the code
var marker = createMarker(point,'div style=width:
200pxCENTERfont size=2 face=Georgia, Arialbfont
color=#ffUnforgettable Rome BB/b/font/fontbrvia A.
Ferrara 12br 00165 Roma (ITALIA)/CENTER\/div')

i tried with another map http://www.unforgettablerome.it/prova3.html
and this is what i'm looking but if i close the infowindow i can't
reopen.

could you someone help to find the solution for both?

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] Limit on the number of custom icons

2011-04-13 Thread toretto
I am displaying custom icons in Google maps but I think I am hitting a
display limit. If I go over 100 icons it converts any additional icons
to the Google default. It does not appear to have anything to do with
the size of the icons I am using  (have tried smaller and larger file
sizes) and still hit the 100 limit. I can open the file in the Google
Earth and it displays correctly so I know the KML file is working.

I can't find any documentation on a limit of or setting for the number
of custom icons.

-- 
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] Programmatically moving forwards in Street View

2011-04-13 Thread Nicolás D . Gschwind
We are developing an application where we need to simulate the
controls provided by Street View with calls to the Maps API. One of
the things we need to do is getting the next Panorama, the next link,
as if pressing the Up keyboard key, to move forwards.

We are using the V3 Javascript API. We've tried the getLinks() method
which returns an array of Street View links. However, we do not know
which one is the link that will be followed if moving forwards
(pressing the Up key). How can we know the index of the link that
follows, in the current direction? Or, how can we run the same code
that Google uses for the Up keyboard shortcut from within the API?

We need to solve it through the Maps API, not by simulating a key
press.

Any help will be appreciated, 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: obligatory ads in google maps

2011-04-13 Thread PhilR8
Frankly, it's made me consider OpenStreetMaps for all future development.

-- 
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: [bug] Polygons not rendering

2011-04-13 Thread PhilR8
Having a similar problem: I have polygons set up for tooltips to appear on 
mouseover, and a click listener within the polygons to open infowindows of 
markers inside the polygons - not working on version 3.4.

Version 3.4, click listener and mouseover do not work:
http://pages.towson.edu/preese/campusmap2.0/mar7/apr13.html

Everything works fine with 3.3:
http://pages.towson.edu/preese/campusmap2.0/mar7/apr13v3_3.html


-- 
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: obligatory ads in google maps

2011-04-13 Thread chris marx
yes, same here, although if possible, I like the idea of continuing to use 
Google Maps, I love the api, active development, huge user community, look 
and feel, and the fact that a lot of people are already used to using them, 
eliminating yet another barrier to my apps. Are you aware of any effort 
underway to petition this decision?

-- 
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: google maps api v3 open infowindow

2011-04-13 Thread sb
Hi,

Looks to me like you haven't added a listener.

This is from the working page.
google.maps.event.addListener(marker, 'click', function() {
infowindow.setContent(contentString);
infowindow.open(map,marker);
});



On Apr 13, 9:43 am, tommaso tcole...@gmail.com wrote:
 Hello,
 i'm looking to resolve this issue:
 i made this pagehttp://www.unforgettablerome.it/prova5.htmlwith 3
 marker and infowindow.

 i would like that when the page load come out one infowindow that is
 allready in the code
 var marker = createMarker(point,'div style=width:
 200pxCENTERfont size=2 face=Georgia, Arialbfont
 color=#ffUnforgettable Rome BB/b/font/fontbrvia A.
 Ferrara 12br 00165 Roma (ITALIA)/CENTER\/div')

 i tried with another maphttp://www.unforgettablerome.it/prova3.html
 and this is what i'm looking but if i close the infowindow i can't
 reopen.

 could you someone help to find the solution for both?

 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] Polylines snapped and offset from road

2011-04-13 Thread Gil Feig
I was wondering if there was a way to make a polyline snap to a road but for 
the polyline to display offset from the road it is snapped to rather than 
overlapping the road. That way I can have two lines along one road. One line 
would be on one side of the road and the other on the other side of the 
road. 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: Polylines snapped and offset from road

2011-04-13 Thread Rossko
See your previous cross-post
http://groups.google.com/group/google-maps-api/browse_thread/thread/c60084be65147d42

-- 
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: Polygons not rendering

2011-04-13 Thread Rossko
 Here's an example using
 3.4  http://www.seekatweet.com/circlesv3.4.html which doesn't show the
 search radius..

I don't even get a map in FF2, I suspect this may be a CSS issue,
others have had similar problems when hotlinking from their own page
to Google's example CSS
   link href=http://code.google.com/apis/maps/documentation/
javascript/examples/default.css rel=stylesheet type=text/css /
You have no control over any changes that may happen to that

-- 
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: Polylines invisible in Firefox and Chrome, polylines are present in map.

2011-04-13 Thread Brad
Hey was just alerted to this post - I had a similar issue with the PHP 
Google Maps API class that I'm managing 
(http://code.google.com/p/php-google-map-api/ ) and was alerted to a similar 
situation today with polylines no longer rendering in FF but working in IE.  
Here's the post on our FB wall - 
http://www.facebook.com/permalink.php?story_fbid=208449602506084id=121455857872126
 
, but in short, at least for my implementation, it was due to me using css 
compliant color names instead of the full hexadecimal values (AKA: 
color:red instead of color:#FF)  - I checked out the page you linked 
in question, and I noticed that the color value you are passing is #000 - I 
have a sneaking suspicion that if you change that value to #00 , you're 
polylines will start rendering again.  This is obviously an issue with the 
API as a css compliant color declaration shouldn't just stop working, but 
for some reason that appears to be the case.  Let us know if this helps at 
all, I'm certainly interested to know if that's the cause.

-- 
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: Polygons not rendering

2011-04-13 Thread Rossko
 Having a similar problem: I have polygons set up for tooltips to appear on
 mouseover, and a click listener within the polygons to open infowindows of
 markers inside the polygons - not working on version 3.4.

Doesn't seem that similar.
Your 'buildings' polygons do not specify the 'clickable' option, which
_should_ default to true according to the docs.  But I wonder what
happens if you set it explicitly?

-- 
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: Polygons not rendering

2011-04-13 Thread Rossko
 circles appearing on  http://www.seekatweet.com ?  Here's an example using
 3.4  http://www.seekatweet.com/circlesv3.4.htmlwhich doesn't show the
 search radius..

Interesting read on this thread
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/4debfa70ca76b713/8992d44493ee8656#8992d44493ee8656
and your circle options include
strokeColor:'#999'
which is invalid

-- 
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: Polygons not rendering

2011-04-13 Thread PhilR8
I'm using a click listener for the polygon click, which uses the getBounds 
extension.  See 
http://pages.towson.edu/preese/campusmap2.0/mar7/js/point_in_poly.js for the 
code.  

And that doesn't affect the mouseover listener for the tooltips.  The 
polygons are not loading.

-- 
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: Polygons not rendering

2011-04-13 Thread Phil Reese
Click on the construction checkbox for both maps.  The construction
polygons load in 3.3, and not in 3.4.

On Wed, Apr 13, 2011 at 4:04 PM, PhilR8 phi...@gmail.com wrote:

 I'm using a click listener for the polygon click, which uses the getBounds
 extension.  See
 http://pages.towson.edu/preese/campusmap2.0/mar7/js/point_in_poly.js for
 the code.

 And that doesn't affect the mouseover listener for the tooltips.  The
 polygons are not loading.

 --
 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.




-- 
Phil Reese

-- 
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: Limit on the number of custom icons

2011-04-13 Thread Rossko
 I can't find any documentation on a limit of or setting for the number
 of custom icons.

There are limits with KmlLayer and number of icons e.g. see this
thread
   
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/14cb3d13dc4cf8bc/4ac5d250eb76454b
These don't appear to be documented

-- 
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: to find if latitude longitude stored in table lie within a polygon

2011-04-13 Thread Rossko
 i am passing array of lat lng points in a javascript function which i
 convert to a GLatLng object inside, then question is:

v3 API doesn't have Gxxx objects, you want the v2 group at
http://groups.google.com/group/Google-Maps-API

  if i retrieve bounds of the polygon using getbounds()

The bounds is a rectangle which contains the polygon

  mylatlngobj.containsLatLng(polylatlngobj) which if i am correct so
 far should return me a bool if my point is inside polygon or false
 otherwise.. is this a correct way..

It will be true if the rectangle contains the point ; it may still be
outside the polygon.
You'll need to do more extensive point-in-polygon analysis, but here
is a v2 extension readymade
http://econym.org.uk/gmap/epoly.htm

 second question is.. as i hav many such points in my db.. and i am
 calling that function using onclick() from a php script.. how am i to
 retrieve the result  back into my script...

You would send it using GDownloadUrl perhaps

-- 
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 stylize rollover title?

2011-04-13 Thread thebit
Thank you very much.
Now, also your script appears simple tu use :)
Thanks.

On 12 Apr, 14:32, Esa esa.ilm...@gmail.com wrote:
 On Apr 12, 10:32 am, thebit the-...@email.it wrote:

  Hello,
  I founded this interesting InfoBox 
  script:http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobo...
  It's very simple tu use but I do not understand if there is a specific
  page in which to ask some informations or if I can post here my
  questions.

 That is a great script written by Garyhttp://www.garylittle.ca/

 You also asked how to use 
 tiptool.jshttp://koti.mbnet.fi/ojalesa/boundsbox/tiptool_trains.htm

 The essentials:

 1] in html:
 script type=text/javascript src=tiptool.js /script
 Of course you first have to upload the script in the folder

 2] in JavaScript:

     marker.attachTipTool(text);

 That will create the mouseover/mouseout listeners and a 200ms timer

 3] in CSS something like:

 .tiptool: { border: 1px solid blue;
              background-color: white; }

-- 
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: Polygons not rendering

2011-04-13 Thread Adam
*Temp fix:*
http://maps.google.com/maps/api/js?*v=3.3*sensor=true

*Theory:*
Polygons must have a border in 3.4.

-- 
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] 3.4 changes behavior of control options

2011-04-13 Thread Kevin
I just switched from v3.2 to v3.4.
The following code used to result in a horizontal menu with 3 buttons: Map, 
Hybrid and Terrain.  3.4 changes it to a drop down with Terrain under Map 
and with Hybrid missing from the control.
What do I need to do to get my 3 buttons back?
 
 
 
var mapTypes = new Array();

mapTypes.push(google.maps.MapTypeId.ROADMAP);

mapTypes.push(google.maps.MapTypeId.HYBRID);

mapTypes.push(google.maps.MapTypeId.TERRAIN);

var latlng = new google.maps.LatLng(cityLatitudeCenter, 
cityLongitudeCenter);

var myOptions = {

zoom: 8,

center: latlng,

mapTypeId: google.maps.MapTypeId.TERRAIN,

mapTypeControlOptions: { style: 
google.maps.MapTypeControlStyle.HORIZONTAL_BAR,

mapTypeIds: mapTypes },

disableDoubleClickZoom: 1,

streetViewControl: 0,

scrollwheel: false,

scaleControl: true

};

if (_googleMap != null) {

google.maps.event.clearInstanceListeners(_googleMap);

_googleMap = null;

}

_googleMap = new google.maps.Map(document.getElementById(map), myOptions);

-- 
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] Svar: Re: Polylines invisible in Firefox and Chrome, polylines are present in map.

2011-04-13 Thread kreditt
Your suspicion was correct, I tried with a full hex color code and the 
polylines did show up, but not with the css compliant codes,
the css compliant color codes have been working the whole time I've been 
working on this project. (for about a week now).

My guess is there have been some change in the API affecting the color 
codings, the question is if there are other functions also affected by this?

onsdag 13. april 2011 kl. 21:41:34 UTC+2 skrev Brad følgende:

 Hey was just alerted to this post - I had a similar issue with the PHP 
 Google Maps API class that I'm managing (
 http://code.google.com/p/php-google-map-api/ ) and was alerted to a 
 similar situation today with polylines no longer rendering in FF but working 
 in IE.  Here's the post on our FB wall - 
 http://www.facebook.com/permalink.php?story_fbid=208449602506084id=121455857872126,
  but in short, at least for my implementation, it was due to me using css 
 compliant color names instead of the full hexadecimal values (AKA: 
 color:red instead of color:#FF)  - I checked out the page you linked 
 in question, and I noticed that the color value you are passing is #000 - I 
 have a sneaking suspicion that if you change that value to #00 , you're 
 polylines will start rendering again.  This is obviously an issue with the 
 API as a css compliant color declaration shouldn't just stop working, but 
 for some reason that appears to be the case.  Let us know if this helps at 
 all, I'm certainly interested to know if that's the cause.


-- 
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] Polygons from fusion table geometry

2011-04-13 Thread Rick
I would like to create pages with choropleth maps.  I have the page all set 
to collect the data from a fusion table including county polygon 
definitions:

http://www.intimeandplace.org/Japanese%20Internment/InternmentMap/populationkml.html

The page is also set up to classify data in the designated number of 
quantiles.  Is it or will it be possible to take the polygon definitions 
from the fusion table and use them in a straight forward manner to create 
Google Map polygons that are shaded based on quantile value?  

Thanks for any help --

Rick

-- 
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] change default direction markers

2011-04-13 Thread Jorge Flores
Hi, I'm trying to change the default markers on a route created with
the direction service, is it possible? i've suppressed the markers and
added some created markers to the start and end position, but since I
activated the draggable property, when I drag the initial point, the
markers obviously stays where I placed it instead of moving to the
new  start or end position,  I could probably move the marker
depending on the new start and end position, but its kind of double
work, is there a property or something to just simply replace the
original for my new image?

thx
Jorge

-- 
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: Adding id to each image tile of an overlay

2011-04-13 Thread Esa
If you mean access to the tile image dom node, I don't know any
straightforward solution but a tileset script of your own.

You can form your tile url by quadkey or geohash formulas. That is
like an id but still you have to iterate through the tiles and compare
src property to find a certain tile image.

-- 
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] Adding id to each image tile of an overlay

2011-04-13 Thread Gregory Short
I'm not sure if it'll help but take a look at http://web.me.com/gshort/heatmap 
and see if that has anything useful. In that app, I reference back to the tiles 
based on the mouse coordinates and highlight/unhighlight them by use of the css 
border property on the tile in question.

-G

On Apr 13, 2011, at 6:33 AM, Matt Alonso wrote:

 Hi All,
 
 I am creating some custom overlays and I was wondering if there is a
 way to add an id to each image tile so that I can specifically
 reference it in some subsequent JS.
 
 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.
 

-- 
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] change default direction markers

2011-04-13 Thread Chris Broadfoot
http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsRendererOptions

markerOptions

On Thu, Apr 14, 2011 at 8:56 AM, Jorge Flores jan2...@gmail.com wrote:

 Hi, I'm trying to change the default markers on a route created with
 the direction service, is it possible? i've suppressed the markers and
 added some created markers to the start and end position, but since I
 activated the draggable property, when I drag the initial point, the
 markers obviously stays where I placed it instead of moving to the
 new  start or end position,  I could probably move the marker
 depending on the new start and end position, but its kind of double
 work, is there a property or something to just simply replace the
 original for my new image?

 thx
 Jorge

 --
 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.




-- 
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.



Re: [Google Maps API v3] Adding id to each image tile of an overlay

2011-04-13 Thread Gregory Short
As an aside, I just noticed that the service that demo uses is currently 
borked, but you can still see how the highlight works. In short, each tile is 
given an ID based on its x,y,z coord, and then the mousemove handler derives 
the matching coordinate and looks the tile up based on that derived value. No 
cycling through the DOM tree or anything.

There is one glaring issue with this method that I haven't yet figured out how 
to fix: world wrap causes problems. That is, only the main, default instance 
of the world gets highlighted. If you mouseover a duplicate tile, the main one 
still gets highlighted. I know each tile has an appropriate id, I just haven't 
had time to figure out how to determine which world the mouse is currently 
over, since the coordinates from the mousemove event are constrained to one 
iteration of the map. If that makes any sense, anyhow: my terminology is 
probably all over the place.

-G

-- 
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: Polylines invisible in Firefox and Chrome, polylines are present in map.

2011-04-13 Thread Chris Broadfoot
As I said in another thread, polys are now rendered in Canvas. I've filed a
bug to support shorthand colors, though I'm not sure if we could support
opacity when using color names like 'red' or 'blue'.

As per documentation, please use full hex notation (e.g. #ff) when
specifying colors:
http://code.google.com/apis/maps/documentation/javascript/reference.html#PolylineOptions

Chris

-- 
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] creating directions from several points

2011-04-13 Thread Jorge Flores
hi, im trying to create routes using the direction service, I managed
to get it running having several start and end markers and a small
workaround where I autocomplete lines to match the start marker to the
last marker and so on. what I need to do is have them like fusion just
like in maps.google.com when you have several directions. does someone
have an example on how to do it? I hope its understandable.

1 point x=22.52449114071534 y=-103.35406421711423
2 point x=19.623712799783448 y=-102.48614429523923
3. point x=21.608162367080908 y=-100.06915210773923






1 to 2 and then 2 to 3 having point 2 as intersection so when I drag
it, it just moves point 2 and not have 2 diferent point 2 as I have it
at them time.
thanks for the 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: creating directions from several points

2011-04-13 Thread geocode...@gmail.com
On Apr 13, 4:53 pm, Jorge Flores jan2...@gmail.com wrote:
 hi, im trying to create routes using the direction service, I managed
 to get it running having several start and end markers and a small
 workaround where I autocomplete lines to match the start marker to the
 last marker and so on. what I need to do is have them like fusion just
 like in maps.google.com when you have several directions. does someone
 have an example on how to do it? I hope its understandable.

 1 point x=22.52449114071534 y=-103.35406421711423
 2 point x=19.623712799783448 y=-102.48614429523923
 3. point x=21.608162367080908 y=-100.06915210773923

 1 to 2 and then 2 to 3 having point 2 as intersection so when I drag
 it, it just moves point 2 and not have 2 diferent point 2 as I have it
 at them time.
 thanks for the help

Are you talking about this:
http://code.google.com/apis/maps/documentation/javascript/services.html#Waypoints

  -- 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.



Re: [Google Maps API v3] Polygons from fusion table geometry

2011-04-13 Thread Chris Broadfoot
Unfortunately not at present, not using the JS API.

If you had a server (say, on AppEngine) that queries Fusion Tables and
returns some JSON back to your JS frontend, you could!

Not so straight forward, though.

-- 
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.



Re: [Google Maps API v3] Re: Polygons not rendering

2011-04-13 Thread Jason Sanford
I've got a demo that shows using Google's geometry library to measure
length/area which doesn't work any more. The geometry for the polygon is
still good, as the area measurements I'm getting are accurate, but polygon
is drawn. I'm actually drawing a line and a polygon and the line stops
drawing after 3 vertices, but continues returning valid length measurements.
Dropping to v3.3 fixes the issue, but I'm leaving it up in hopes to help
debug the problem.

http://demos.geojason.info/google-maps-api-v3-geometry-library.php

On Wed, Apr 13, 2011 at 4:52 PM, Adam adamcow...@gmail.com wrote:

 *Temp fix:*
 http://maps.google.com/maps/api/js?*v=3.3*sensor=true

 *Theory:*
 Polygons must have a border in 3.4.

 --
 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.



Re: [Google Maps API v3] Re: Polygons not rendering

2011-04-13 Thread Chris Broadfoot
Thanks Jason, I've narrowed that bug down and filed an issue internally.
Specify v=3.3 for now.

On Thu, Apr 14, 2011 at 12:24 PM, Jason Sanford jasonsanf...@gmail.comwrote:

 I've got a demo that shows using Google's geometry library to measure
 length/area which doesn't work any more. The geometry for the polygon is
 still good, as the area measurements I'm getting are accurate, but polygon
 is drawn. I'm actually drawing a line and a polygon and the line stops
 drawing after 3 vertices, but continues returning valid length measurements.
 Dropping to v3.3 fixes the issue, but I'm leaving it up in hopes to help
 debug the problem.

 http://demos.geojason.info/google-maps-api-v3-geometry-library.php


 On Wed, Apr 13, 2011 at 4:52 PM, Adam adamcow...@gmail.com wrote:

 *Temp fix:*
 http://maps.google.com/maps/api/js?*v=3.3*sensor=true

 *Theory:*
 Polygons must have a border in 3.4.

 --
 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.




-- 
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.