[Google Maps API v3] Prevent map panning when using google.maps.DirectionsService

2011-10-11 Thread Justin
Hi,

Im currently using the google.maps.DirectionsService and whenever I
create a new route request, the map will pan to the location of the
route. How do I prevent this from occuring?

Regards

Justin

-- 
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 places autocomplete does not always fire place_changed on location selection

2011-10-11 Thread Andre Wilson
  
  
I currently am trying to integrate the google places auto complete facility 
into my website so that I can use it to easily retrieve location information 
such as latitude and longtitude of an address.

However I have noticed that although the auto complete will give drop down 
options to select from when I enter in an address it does not always fire 
the *place_changed* event when I select that address from the shown list. 
This problem appears to only be evident primarily when I have not specified 
a type i.e. establishment or geocode. When I specify the geocode option the 
address appears to be found appropiately.

To double check it wasn't something I was doing I am able to replicate the 
issue on the demo example at:

Google places 
example

The address I can trigger this repeatably on is when I type in *Auckland 
airport* and select the *Auckland Airport, Auckland, New Zealand* option 
from the returned results. When I do this nothing happens. However when I 
select geocodes only selecting this option appears to work.

I would like to have both establishments and geocodes searching abilities if 
possible.

Any ideas or help would be appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/1f8cHXJjSZUJ.
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] on change function not working

2011-10-11 Thread steve
The original page:
http://webknows.net/schoolboundary.asp

I loaded a fusion table layer then want to select a school district
and then update the map with school district's boundary. However, it
seems not working. Can you share anything I have done wrong? The
function to update the map is as below.

Thanks.

Steve

function updateMap() {
var e = document.getElementById("schoolID");
var schoolID = e.options[e.selectedIndex].value;
layer.setQuery("select geometry from 1813014 where name=" &
schoolID);
 }

-- 
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 remove certain places on a map

2011-10-11 Thread BruceB
You can't specifically show one particular store or set of stores in the 
styling interface.
You would have to hide all POIs, and then use the Places API to search for 
and show your store(s) using the Marker overlay.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/K7TkbKFjvokJ.
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: Calculate the distance from the two latlng objects

2011-10-11 Thread 千秋
Thank you for your help ,I found this url in the relevant formula。

http://code.google.com/intl/zh-CN/apis/maps/articles/phpsqlsearch_v3.html

On Oct 12, 3:29 am, Rossko  wrote:
> > I want to calculate the distance between two objects latlng, and want
> > to know the formula for calculating the distance calculation
>
> If you want the general formulaes to write code in the language of
> your choice, use Google's search 
> enginehttp://www.google.com/search?q=lat+long+distance+calculation
> examplehttp://www.mathforum.com/library/drmath/view/51711.html
> If you refine your search you can probably find pre-coded 
> exampleshttp://www.google.com/search?q=php+lat+long+distance+algorithm

-- 
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: Calculate the distance from the two latlng objects

2011-10-11 Thread 千秋
Thank you for your answer,google maps api Chinese version of the
update rate slower than the English version, thanks again!

On Oct 11, 6:33 pm, MymsMan  wrote:
> Seehttp://code.google.com/apis/maps/documentation/javascript/reference.h...
>
> The computeDistanceBetween() method calculates the distance between LatLng
> pairs

-- 
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 remove certain places on a map

2011-10-11 Thread Junsuk Bang
Oh, it is so helpful for me who is a real beginner of google Maps API and 
Javascript. 
 
Thanks.
 
But, I have one more thing to ask.
 
By setting the visibility option of featuretypes, I can only remove a group 
of features like all goverment things, all business things.
 
If I want to remove all stores around my store, but wanna leave my store...
 
could you let me know what I can do?
 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/gA3ynuwKg7EJ.
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 Map V3 Click Event for multiple objects (marker, polygon...)

2011-10-11 Thread geocode...@gmail.com
On Oct 11, 3:26 pm, 7heroes  wrote:
> Hi all,
>
> I have an array of object (polygons), and each object has its own click
> event. I am successfully attached click event to each object which will
> trigger the same OnPolygonClick(e), however I don't know how to determine
> which polygon is clicked, something like if you click on a polygon which has
> property name = "Area 1", the infowindow will show "Area 1" as well as its
> other info and so on...is there a way to attach a custom object to a polygon
> which is sent from ASP.NET and when user click on it, the object info will
> be displayed?

This example uses function closure:
http://www.geocodezip.com/v3_polygon_example_clickable_squares.html

I'm sure there are other ways to do it also.

  -- Larry
>
> Thanks,
>
> Sam.

-- 
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: Transaction limits and associated costs

2011-10-11 Thread Thor Mitchell (Google Employee)
On Monday, 10 October 2011 06:42:41 UTC-7, abanjo wrote:
>
> What is not clear to me is:- if i use the javascript V3 version, the 
> 25.000 are calculated for the IP ( so the client ), the domain ( so the web 
> site ) or what?


For the domain. 

> - Well, the costs are for commercial web site... but what is considered 
>  "commercial" from Google? A page with banners (es Adsense ) is considered 
> as commercial? 


Yes. In general, unless your organisation is a non-profit your site 
qualifies.

Many thanks,

Thor.
  

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/UD0Rsb4NQ6QJ.
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: Places search bounds size

2011-10-11 Thread BruceB
I believe there was a recent fix that brought the search radius limit down 
to 50km -- discussed 
here 
http://code.google.com/apis/maps/documentation/webservices/forum.html?place=topic%2Fgoogle-maps-api-web-services%2FboFRM7O7ds8%2Fdiscussion

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/4Z0PAYXTySsJ.
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 Map V3 Click Event for multiple objects (marker, polygon...)

2011-10-11 Thread 7heroes
Hi all,

I have an array of object (polygons), and each object has its own click 
event. I am successfully attached click event to each object which will 
trigger the same OnPolygonClick(e), however I don't know how to determine 
which polygon is clicked, something like if you click on a polygon which has 
property name = "Area 1", the infowindow will show "Area 1" as well as its 
other info and so on...is there a way to attach a custom object to a polygon 
which is sent from ASP.NET and when user click on it, the object info will 
be displayed?

Thanks,

Sam.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Y1fL40wLCVIJ.
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: infoWindow for every set of coordinates on polyline

2011-10-11 Thread fable
oh, cool.  thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/j1_WbNRGB5AJ.
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: Hex Grid construction

2011-10-11 Thread geocode...@gmail.com
On Oct 11, 1:56 pm, Benjamin Mottram 
wrote:
> Hi everybody,
>
> I need to construct a hex grid in a similar manner to those found on
> traditional table top war games .
>
> (e.g. this is an excellent 
> examplehttp://www.crypticcomet.com/blog/wp-content/uploads/2006/05/HexMapTop...).
>
> I found a partial solution to this problem but  it is only using the
> version 2 API, this is the example in the link.
>
> http://econym.org.uk/gmap/example_eshapes.htm
>
> It is the only example that i can find and this uses depreciated
> code.  So i was hoping out there somewhere someone would have an
> example of how to construct something similar?  Or has any other tips
> or suggestions on how such a thing could be created.

The extension he uses for doing this in v2 is referenced in that
example.

You could port it to v3, doesn't look like it would be too hard.  But
if all you really want is the hex grid, you can easily make hexagons
with the v3 Polygon class.  If you read Mike Williams' code in that
example and just do the same things with the v3 equivalents.

You might be able to use the geometry library to save yourself some
work.

Although thinking about it, it would probably be more efficient to
make a KmlLayer or FusionTablesLayer that contains your hex grid, then
the API will render it as tiles and there will be less overhead on
your map.  Does the hex grid need to be clickable or need to handle
mouseover/out events?

  -- Larry

>
> So thanks all in advance.
>
> Ben

-- 
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: Custom marker icons using DirectionsRenderer.setDirections()

2011-10-11 Thread Masashi.K
Hi Matt-

I wrote a description page.
http://googlemaps.googlermania.com/google_maps_api_v3/map_example_direction_customicon.html

My english is poor, but maybe you can understand.

On 10月6日, 午後10:30, "Masashi.K"  wrote:
> Hi Matt-
>
> You can change theiconswith DirectionsRenderer.
>
> First set the value "DirectionsRendererOptions.suppressMarkers =
> true", then pass to the DirectionsRenderer.
> After that, get legs from DirectionsResult.
> (DirectionsResult > routes > legs > start_location and end_location)
>
> In use this example 
> case:http://code.google.com/apis/maps/documentation/javascript/examples/di...
>
> add the suppressMarkers property like this:
> 
>     var rendererOptions = {
>       map: map,
>       suppressMarkers : true
>     }
>     directionsDisplay = new
> google.maps.DirectionsRenderer(rendererOptions);
> 
>
> and add the code at the showSteps function:
> -
>  function showSteps(directionResult) {
>   var myRoute = directionResult.routes[0].legs[0];
>   for (var i = 0; i < myRoute.steps.length; i++) {
>     :
>   }
>
>   //add the last pointmarker
>   varmarker= new google.maps.Marker({
>     position: myRoute.steps[i - 1].end_point,
>     map: map,
>     icon: "http://x/icon.png";
>   });}
>
> -
>
> I hope it can help you.
>
> On 10月6日, 午後9:23, Matt  wrote:
>
>
>
>
>
>
>
> > I'musingDirectionsRenderer.setDirections() to plot directions onto my map,
> > and the default markers are A, B.
>
> > Is there anyway to override these so I can have my ownmarkerfor A and
> > another one for B.
>
> > I notice the DirectionsRenderer has a setOptions but from what I can see,
> > the options defined in there are used by all markers for that direction
> > object?
>
> > Any help would be awesome.
>
> > Matt

-- 
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] Hex Grid construction

2011-10-11 Thread Benjamin Mottram
Hi everybody,

I need to construct a hex grid in a similar manner to those found on
traditional table top war games .

(e.g. this is an excellent example
http://www.crypticcomet.com/blog/wp-content/uploads/2006/05/HexMapTopo.jpg).

I found a partial solution to this problem but  it is only using the
version 2 API, this is the example in the link.

http://econym.org.uk/gmap/example_eshapes.htm

It is the only example that i can find and this uses depreciated
code.  So i was hoping out there somewhere someone would have an
example of how to construct something similar?  Or has any other tips
or suggestions on how such a thing could be created.

So thanks all in advance.

Ben

-- 
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] Places search bounds size

2011-10-11 Thread gpa
I'm trying to use the Places service to look for a place that may or
may not be local.

I was doing a search with some very generous bounds (worldwide, see
here: http://dl.dropbox.com/u/12543232/PlaceSearch1.html). It used to
work up until a couple of days ago and now it's only returning zero
results.

I tried changing the bounds to be mostly California but still got no
results (http://dl.dropbox.com/u/12543232/PlaceSearch2.html).

Only when I change it to be most of Palo Alto that I get a result:
http://dl.dropbox.com/u/12543232/PlaceSearch3.html

I also tried setting a center and a very large radius but the results
were the same.

So, my questions are:

1) Are there limits to these bounds?
2) Why did this work up until a couple days ago?
3) How can this be accomplished? In Google maps no matter where I am,
if I search for "The Old Pro" it immediately finds what I want.

Any help is appreciated.

Cheers,
Gustavo

-- 
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: Calculate the distance from the two latlng objects

2011-10-11 Thread Rossko
> I want to calculate the distance between two objects latlng, and want
> to know the formula for calculating the distance calculation

If you want the general formulaes to write code in the language of
your choice, use Google's search engine
http://www.google.com/search?q=lat+long+distance+calculation
example
http://www.mathforum.com/library/drmath/view/51711.html
If you refine your search you can probably find pre-coded examples
http://www.google.com/search?q=php+lat+long+distance+algorithm

-- 
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: Reducing number of points in Directions Service Polyline?

2011-10-11 Thread Berry Ratliff
> Or if anybody has a better/more elegant solution please let me know!

I believe it is legal.  Ben, please correct me if I am wrong.

Your printer driver may not be able to superimpose two identically
positioned DIVs (one IMG / one CANVAS) but it ought to be able to
print a single composite CANVAS element.  You could use the
"drawImage" method to transfer your static map image to a CANVAS
element.  You could use the "moveTo" & "lineTo" methods to draw your
polys on the same CANVAS element.  You will have to apply Mercator
projection conversions from Lat/Lon coordinates to X/Y pixel
positions.

The file:

http://home.provide.net/~bratliff/adjust.js

contains conversion functions.

-- 
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 compress the icon file for maker

2011-10-11 Thread geocode...@gmail.com
On Oct 11, 10:36 am, ammu  wrote:
> Lets 
> sayhttp://icons.iconarchive.com/icons/deleket/halloween-avatars/icons-39...

http://icons.iconarchive.com/icons/deleket/halloween-avatars/icons-390.jpg
I see 6 things on that image, do you want all of them to appear?

That image is 390px × 260px;
each of the 6 "icons" appears to be 130px x 130px.

> I have that image. When I give the size I get a portion of the image.
> I want that whole image to be compressed and seen in the maps

If you want the whole image to be seen and be scaled down you need to
use the size and scaled size in the MarkerImage constuctor properly:
http://code.google.com/apis/maps/documentation/javascript/reference.html#MarkerImage

MarkerImage(url:string, size?:Size, origin?:Point, anchor?:Point,
scaledSize?:Size)   A structure representing a Marker icon or shadow
image.

size should be the size of the image: 390,260
scaled size should be the "compressed size" the size you want it to
appear on your map:
scaledSize  SizeThe size of the entire image after scaling, if any.
Use this property to stretch/shrink an image or a sprite.

sizeSizeThe display size of the sprite or image. When using
sprites, you must specify the sprite size. If the size is not
provided, it will be set when the image loads.

Since this _might_ be a sprite (i.e. you only want to show one of the
six icons), you might need to play with the origin as well.

  -- Larry


>
> Am I clear in what I want to convey? Sorry if its kinda confusing.
>
> If I give new google.maps.Size(20, 32), as the size the left hand
> corner white portion is only getting displayed.
>
> On Oct 11, 12:25 pm, "geocode...@gmail.com" 
> wrote:
>
>
>
>
>
>
>
> > On Oct 11, 9:22 am, ammu  wrote:
>
> > > Thanks Rossko. I did try this but what happens is if an image has
> > > white space around it and it has the exact image in the center the
> > > white part only gets displayed. I want to show the exact image that I
> > > have but in a smaller size.
>
> > > Can you please let me know if that can be done?
>
> > Sure.  If it is your custom icon, make the icon be what you want it to
> > be.  There are image editing programs available that will allow you to
> > resize images, crop images, etc.  If you mean there is a white
> > background that you want to make transparent, you need to do that with
> > an image editing program as well.
>
> >   -- Larry
>
> > > On Oct 10, 12:42 pm, Rossko  wrote:
>
> > > > > I am using a custom marker icon.Is there a way to compress the icon
> > > > > file? As it looks very huge on the maps.
>
> > > > You can specify the Size of 
> > > > iconshttp://code.google.com/apis/maps/documentation/javascript/overlays.ht...

-- 
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: POI Info Windows for Maps with Custom Styles

2011-10-11 Thread geocode...@gmail.com
On Oct 11, 9:41 am, Justin  wrote:
> Is there any way to turn off info windows but leave POIs on the map
> with custom styling?  Having the POIs on the map makes it so much
> better, but in many apps - especially mobile - having an info window
> popup whenever you accidentally tap a place is a huge problem.
>
> http://groups.google.com/group/google-maps-js-api-v3/msg/e0f5c3fdd822...

Doesn't seem to be possible:
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/f7bbcbc9eeb39180/77c4088bc6862138?lnk=gst&q=poi+click#77c4088bc6862138

And I don't see anything on the issues list to add that (although it
seems like many people would be interested).
http://code.google.com/p/gmaps-api-issues/issues/list
(but I may have missed them)

  -- 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: How to compress the icon file for maker

2011-10-11 Thread ammu
Lets say 
http://icons.iconarchive.com/icons/deleket/halloween-avatars/icons-390.jpg
I have that image. When I give the size I get a portion of the image.
I want that whole image to be compressed and seen in the maps

Am I clear in what I want to convey? Sorry if its kinda confusing.

If I give new google.maps.Size(20, 32), as the size the left hand
corner white portion is only getting displayed.

On Oct 11, 12:25 pm, "geocode...@gmail.com" 
wrote:
> On Oct 11, 9:22 am, ammu  wrote:
>
> > Thanks Rossko. I did try this but what happens is if an image has
> > white space around it and it has the exact image in the center the
> > white part only gets displayed. I want to show the exact image that I
> > have but in a smaller size.
>
> > Can you please let me know if that can be done?
>
> Sure.  If it is your custom icon, make the icon be what you want it to
> be.  There are image editing programs available that will allow you to
> resize images, crop images, etc.  If you mean there is a white
> background that you want to make transparent, you need to do that with
> an image editing program as well.
>
>   -- Larry
>
>
>
>
>
>
>
>
>
> > On Oct 10, 12:42 pm, Rossko  wrote:
>
> > > > I am using a custom marker icon.Is there a way to compress the icon
> > > > file? As it looks very huge on the maps.
>
> > > You can specify the Size of 
> > > iconshttp://code.google.com/apis/maps/documentation/javascript/overlays.ht...

-- 
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 compress the icon file for maker

2011-10-11 Thread geocode...@gmail.com
On Oct 11, 9:22 am, ammu  wrote:
> Thanks Rossko. I did try this but what happens is if an image has
> white space around it and it has the exact image in the center the
> white part only gets displayed. I want to show the exact image that I
> have but in a smaller size.
>
> Can you please let me know if that can be done?

Sure.  If it is your custom icon, make the icon be what you want it to
be.  There are image editing programs available that will allow you to
resize images, crop images, etc.  If you mean there is a white
background that you want to make transparent, you need to do that with
an image editing program as well.

  -- Larry

>
> On Oct 10, 12:42 pm, Rossko  wrote:
>
>
>
>
>
>
>
> > > I am using a custom marker icon.Is there a way to compress the icon
> > > file? As it looks very huge on the maps.
>
> > You can specify the Size of 
> > iconshttp://code.google.com/apis/maps/documentation/javascript/overlays.ht...

-- 
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] POI Info Windows for Maps with Custom Styles

2011-10-11 Thread Justin
Is there any way to turn off info windows but leave POIs on the map
with custom styling?  Having the POIs on the map makes it so much
better, but in many apps - especially mobile - having an info window
popup whenever you accidentally tap a place is a huge problem.

http://groups.google.com/group/google-maps-js-api-v3/msg/e0f5c3fdd82264ca

-- 
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] Reducing number of points in Directions Service Polyline?

2011-10-11 Thread Ben Appleton
Hi Evan,

The directions service result contains a field "overview_path":
http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsResult
This is pre-simplified to fit in a static map URL.

Cheers
Ben

On Tue, Oct 11, 2011 at 6:22 AM, Evan Rolfe  wrote:

> Hi all, is there any way I can reduce the number of points in a
> polyline obtained from the Directions Service api?
>
> I'm coding an application that should draw a route from the user's
> address to another address and create a printer friendly version of
> the map with the route. In order to get a printer friendly version I'm
> creating a static map with the polyline obtained from the route from
> directions service.
>
> The only problem I'm having now is that most routes seem to have
> encoded (yes i'm encoding the polyline points to shorten the url)
> strings which are longer than 2048 characters so cannot be passed to
> google static maps api via a url, this is why i'm trying to reduce the
> number of points in the directions route and hence reduce the
> accuracy.
>
> Or if anybody has a better/more elegant solution please let me know!
> 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.



[Google Maps API v3] Re: How to compress the icon file for maker

2011-10-11 Thread ammu
Thanks Rossko. I did try this but what happens is if an image has
white space around it and it has the exact image in the center the
white part only gets displayed. I want to show the exact image that I
have but in a smaller size.

Can you please let me know if that can be done?

On Oct 10, 12:42 pm, Rossko  wrote:
> > I am using a custom marker icon.Is there a way to compress the icon
> > file? As it looks very huge on the maps.
>
> You can specify the Size of 
> iconshttp://code.google.com/apis/maps/documentation/javascript/overlays.ht...

-- 
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: Thought this would be easy, but can't figure it out.

2011-10-11 Thread George

On Tuesday, October 11, 2011 2:38:20 AM UTC-7, davie strachan wrote:
>
> Hi 
> are you developing this using localhost?? 
> the localhost IP address is not valid for geolocation 
> Regards Davie 
>
>   - Yes, I was using localhost, but it seemed to work fine; it found my 
location via HTML5 (or at least approximate).  That was close enough for my 
testing.  I'm having more of problem of then using the variables again (of 
my location) to set the search location for "hotels" (or any search type).  
Like I said before, on thier own the 2 samples I posted work fine...I just 
can't figure out how to combine them. 
  
 

> > Where is the map you created that doesn't work? (link please) 
> > What javascript errors are you getting on it? 
> > 
> >   -- Larry
>  
>
 -- I didn't post the map I created because it didn't work and I didn't want 
to lead anyone down the wrong direction.  That's more of what I needed since 
mine didn't work.  I tried everything I could think of and probably about 10 
different variations, but never got it to work.  I didn't get any javascript 
error messages (I'm just using notepad), but the map would either not 
display anything or only display the geolocation.  It would never add the 
additional markers for the search locations.  The code I used is from those 
links though.  Since they worked on thier own, I was just trying to merge 
them; unsuccessfully. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/7Hs6yxl1oKMJ.
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] Reducing number of points in Directions Service Polyline?

2011-10-11 Thread Evan Rolfe
Hi all, is there any way I can reduce the number of points in a
polyline obtained from the Directions Service api?

I'm coding an application that should draw a route from the user's
address to another address and create a printer friendly version of
the map with the route. In order to get a printer friendly version I'm
creating a static map with the polyline obtained from the route from
directions service.

The only problem I'm having now is that most routes seem to have
encoded (yes i'm encoding the polyline points to shorten the url)
strings which are longer than 2048 characters so cannot be passed to
google static maps api via a url, this is why i'm trying to reduce the
number of points in the directions route and hence reduce the
accuracy.

Or if anybody has a better/more elegant solution please let me know!
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: json or xml for creating markers from database?

2011-10-11 Thread Berry Ratliff
On Oct 11, 3:15 pm, thindery  wrote:
> Thanks for the heads up.  I think I am going to switch to JSON since my
> markers are going to have many nodes.
>
> I appreciate the feedback!

Good choice.  JSON is much faster.  It is ready for interpretation
directly by the browser without extra code to parse it.  It is much
smaller without the verbosity of beginning tags & ending tags for
every element.  It avoids cross domain limitations.

-- 
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 remove certain places on a map

2011-10-11 Thread BruceB
You can remove points of interest (POIs) from your map using the styling 
features: 
 
http://code.google.com/apis/maps/documentation/javascript/styling.html#styling_the_default_map
and
http://code.google.com/apis/maps/documentation/javascript/styling.html#map_features

Just set the visible property to off for the categories you want hidden:
[ { featureType: "poi.government", stylers: [ { visibility: "off" } ] } ]

The styling wizard is useful for figuring out the style 
syntax: 
http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/fPPtU5rrWDQJ.
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: json or xml for creating markers from database?

2011-10-11 Thread Berry Ratliff
On Oct 11, 3:15 pm, thindery  wrote:
> Thanks for the heads up.  I think I am going to switch to JSON since my
> markers are going to have many nodes.
>
> I appreciate the feedback!

Good choice.  JSON is much faster.  It is ready for interpretation
directly by the browser without extra code to parse it.  It is much
smaller without the verbosity of beginning tags & ending tags for
every element.  It avoids cross domain limitations.

-- 
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] json or xml for creating markers from database?

2011-10-11 Thread thindery
Thanks for the heads up.  I think I am going to switch to JSON since my 
markers are going to have many nodes.  

I appreciate the feedback!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/9OYzvovqTEoJ.
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] json or xml for creating markers from database?

2011-10-11 Thread Andrew Leach
On 10 October 2011 18:12, thindery  wrote:
>
> I'm currently working with the xml version, as it was the best tutorial I
> could find for querying a database.  But I am finding issues with IE and the
> way it parse's xml.  I'm also finding for some reason that the more nodes I
> have the xml generate, the more likely the application doesn't work.  Kind
> of weird?

Not weird. The more nodes you have, the greater the opportunity to
introduce an error.

XML is the one instance where you *should* code for IE. IE's XML
parsing is far more strict and standards-compliant than other
browsers'.

If you don't like XML, you could just write out JSON directly. You
don't *have* to use a function to do it (just as there is an example
for writing XML directly). There may be examples out there which will
help with markers; I don't know of any. Searching might find something
useful: http://www.google.co.uk/search?q=example+json_encode+php

-- 
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: json or xml for creating markers from database?

2011-10-11 Thread thindery
anybody have anything on this?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/3ThKm-HB8ycJ.
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: Marker titles don't show sometimes

2011-10-11 Thread Enoch Lau (Google Employee)
Yep I can see it too - thanks for reporting.

Enoch

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Xw78Dx15MSAJ.
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: CSS font and line-height?

2011-10-11 Thread Joseph Elfelt
Simplify.

Try changing this short form css into the long form:
font:  1.2em/1.5em Arial,Verdana,sans-serif;

Obviously in the long form you can only have one em value.

See: http://www.zytrax.com/tech/css/shortcut.html

If that doesn't fix things you could always try inline styles in your
infowindow content div

-- 
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: Marker titles don't show sometimes

2011-10-11 Thread MymsMan
I can see the problem on FF 7.0.1 on Win 7 64bit, Pointer changes shape on 
Mouse over but title box sometimes, but not always, displays.

I don't see any problem with IE 9 or Chrome however with Opera I don't see 
the marker title at all, however with other maps I see the marker titles 
without problem.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Ypd7eL_i91sJ.
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: about LatLng in .DirectionsRequest

2011-10-11 Thread Marconi
;)
it works!
many thx Geocode

On Oct 11, 12:08 am, "geocode...@gmail.com" 
wrote:
> On Oct 10, 2:55 pm, Marconi  wrote:
>
> > Any suggest?
> > I guess it should be simple to do but I can't find solution.
> > thx
>
> Have you tried .setMap(null) on the DirectionsRenderer?
>
> http://code.google.com/apis/maps/documentation/javascript/reference.h...
>
>   -- Larry
>
>
>
>
>
>
>
>
>
> > On Oct 10, 12:59 pm, Marconi  wrote:
>
> > > well actually I have a direction at a time.
> > > So I want to remove all (one) direction rendered on the map and render
> > > the new one.
>
> > > On 10 Ott, 12:49, MymsMan  wrote:
>
> > > > If you are using the Directions Renderer to draw the route you can use
> > > > setRouteIndex(routeIndex) to specify which set of directions to display.

-- 
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: infowindow width

2011-10-11 Thread rmcguire
would removing the padding and possibly setting the height and width
from within there possibly set the dimensions of the infowindow
correctly? Also do I put my div around each of my functions which
calls the infowindow?

my page again is at www.meadowlarkco.com/contactus.php


Thanks for any help provided.

On Oct 10, 3:39 pm, "geocode...@gmail.com" 
wrote:
> On Oct 10, 2:34 pm, "geocode...@gmail.com" 
> wrote:
>
>
>
>
>
> > On Oct 10, 2:10 pm, Joseph Elfelt  wrote:
>
> > > I got Not Found on your link.
>
> > The group is mangling the link (pre-pendingwww.google.comtoit), see
> > if this works:
>
> >http://www.meadowlarkco.com/contactus.php
>
> > To the OP:
> >   This is a general css/html question, not really map specific.  Try
> > searching the 
> > web.http://www.google.com/search?client=gmail&rls=gm&q=remove%20scroll%20...
>
> >   But my guess is that the contents of the infowindow is too big for
> > it to fit on the map.  You might want to remove some of the extraneous
> > white space.
>
>  You may also want to make the "shared borders" of the regions be the
> same points, it looks strange the way you have it now with the two
> "West Sales" areas different colors and overlaping.
>
>    -- Larry- Hide quoted text -
>
> - Show quoted text -

-- 
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: infowindow width

2011-10-11 Thread rmcguire
how do I go about removing the extra white spacebaiscally Im just
trying to remove the scroll bars.

thanks

On Oct 10, 3:34 pm, "geocode...@gmail.com" 
wrote:
> On Oct 10, 2:10 pm, Joseph Elfelt  wrote:
>
> > I got Not Found on your link.
>
> The group is mangling the link (pre-pendingwww.google.comto it), see
> if this works:
>
> http://www.meadowlarkco.com/contactus.php
>
> To the OP:
>   This is a general css/html question, not really map specific.  Try
> searching the 
> web.http://www.google.com/search?client=gmail&rls=gm&q=remove%20scroll%20...
>
>   But my guess is that the contents of the infowindow is too big for
> it to fit on the map.  You might want to remove some of the extraneous
> white space.
>
>   -- 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: Marker titles don't show sometimes

2011-10-11 Thread JakobA
I have done a bit more research, and the problem isn't specific for my code 
- it even appears in the examples from the documentation.

http://code.google.com/apis/maps/documentation/javascript/examples/marker-simple.html

The title of that marker doesn't show every time i put my pointer on it. 
Does anyone else have this problem? I'm using Firefox 7.0.1 for Mac.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/3sC1diKH6CEJ.
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: Marker titles don't show sometimes

2011-10-11 Thread Enoch Lau (Google Employee)
Can you show us a demo of your problem please?

Enoch

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/xTdp22bCQHkJ.
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: Calculate the distance from the two latlng objects

2011-10-11 Thread MymsMan
See 
http://code.google.com/apis/maps/documentation/javascript/reference.html#spherical
 

The computeDistanceBetween() method calculates the distance between LatLng 
pairs

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/3uc6qH6Sc3oJ.
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: Thought this would be easy, but can't figure it out.

2011-10-11 Thread davie strachan
Hi
are you developing this using localhost??
the localhost IP address is not valid for geolocation
Regards Davie

On Oct 11, 4:50 am, "geocode...@gmail.com" 
wrote:
> On Oct 10, 8:24 pm, George  wrote:
>
> > Hi, I just wanted to make a page that got my geolocation and then marked the
> > nearest hotels.  I tried to merge 2 of the samples together 
> > (http://code.google.com/apis/maps/documentation/javascript/examples/ma..)
> > but I can't get them to work together on one page.  Is that not possible?
>
> Certainly should be.
>
> > I may just not know enough about javascript to make it work.
>
> > Anyway, seperately they work fine...but I would like it to do it
> > automatically on one page.  Or how to pass the data from geolocation page to
> > hotel page. Ultimately I want to use this for a mobile device.  Does anyone
> > have a sample or webpage that does this?
>
> > Please help!
>
> Where is the map you created that doesn't work? (link please)
> What javascript errors are you getting on it?
>
>   -- 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] Marker titles don't show sometimes

2011-10-11 Thread JakobA
Hi.

I have added a lot of markers to a map, and everything is fine except that 
the titles of them sometimes don't show in Firefox. This seems to happen 
very randomly, and most of the time I just need to hover on another marker 
or pan the map for it to work again. Is there anything I can do about this? 
It seems to work fine in Chrome and Safari.

Regards,
Jakob

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/jVysE8tA5ysJ.
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: CSS font and line-height?

2011-10-11 Thread THE_AI
Hey Joseph,
Please look at the original example:
http://jsfiddle.net/compojoom/4NUnM/

and then have a look at this one:
http://jsfiddle.net/compojoom/4NUnM/4/

The only difference is the css. In the first one I use % and em, in the 
second one I use px. In the second one the Infowindow had the proper height. 
This makes me think that the infowindow makes false calculations when we use 
% values. 

As we know CSS values are inherited from the parent nodes. I'm searching for 
a way to stop this inheritance and supply px values to the map...

Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/L2TDrgyH8FAJ.
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: Won't find the town "Orange" in France?

2011-10-11 Thread sgiddings
Nice tip Pil.

However, this is not really an acceptable situation.
Taking into account that work has been undertaken by Google to improve
coverage in Europe, notably in France, this should not occur.
Our users will not have the reflex to do this kind of manipulation -
which will give a bad image to our sites, even if it is out of our
control.

The user will not make the difference between our sites and Google,
they only see our site.

Do we need to open a bug report ?
Do we need to send a problem report to Thor Mitchell ?

On Oct 10, 3:54 pm, Pil  wrote:
> Try
>
> Orange, Orange, fr
>
> (An old trick seems still working in this case.)
>
> On Oct 10, 11:07 am, Andy Newby  wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I'm using Geo-Coding to grab a lat/lng value for a place name entered, and
> > then searching our external DB. However, it doesn't seem to wanna find a
> > place called "Orange" in France, which I can find fine on the main site:
>
> >http://maps.google.com/maps?q=orange&hl=en&ie=UTF8&ll=44.128014,4.965...
>
> > Here is the place it gives an error:
>
> >http://www.chambresdhotes.org/cgi-bin/links/page.cgi?g=Google_Maps&t=...
>
> > I'm making sure I pass in lang=fr to force it to use french spellings
> > (otherwise we have weird errors, like other place names not being found).
>
> > This issue also applies to GMaps v2 API (I havn't updated this page yet to
> > the v3 one) 
> > -http://www.chambresdhotes.org/Google_Maps/?q=orange&radiusSelect=30&s...
>
> > Anyone got any suggestions?
>
> > TIA
>
> > Andy

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