[Google Maps API v3] Re: How to delete a vertex on a polygon?

2012-01-18 Thread waggas1234
Seems it was already fired last year.

For anyone interested, here's a link to the issue:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=3760&q=delete%20vertex&colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Stars%20ApiType%20Internal

-- 
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/-/7BfY1lddSooJ.
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: rightclick event inside a circle

2012-01-18 Thread Martin™
Hi.

Could you add an API event listener for the Map 'mousemove' event:

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

google.maps.event.addListener(myMap, 'mousemove', function(mouseEvent)
{
 lastMousePosition=mouseEvent.latLng;
});

lastMousePosition would have to be defined as a global variable in
your code.

Then add a DOM event listener for the mouse right click event.

Whenever the DOM event is triggered you will have the last mouse
position available.

Or does the API 'consume' the right click event so it will not
propogate to your DOM listener?

Martin.


On Jan 18, 12:58 pm, Eduardo  wrote:
> hello,
>
> i am working in a system and I need to create a custom context menu when
> the user right click *inside* a circle. i have noticed that a right click
> on the map triggers an event with the XY position defined, and then I can
> create a menu for the map. But when the rightclick is inside a circle, the
> event doesn't have the XY position, and I can't show the menu at the right
> position!!
>
> anyone knows how to get the screen XY position when the click event is
> triggered?!

-- 
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 delete a vertex on a polygon?

2012-01-18 Thread Enoch Lau (Google Employee)
This is not currently possible - consider filing a feature request: 
http://code.google.com/p/gmaps-api-issues/issues/list

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/-/Vamh2n_lvxgJ.
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] offline documentation available?

2012-01-18 Thread xu enzo
My ISP occasionally block code.google.com. Is there any offline 
documentation for me?

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



[Google Maps API v3] Re: Remove default point of interest from Map (Restaurant,...)

2012-01-18 Thread geocode...@gmail.com
On Jan 18, 6:59 pm, Luke Mahé  wrote:
> You can apply a map style that turns off poi's.

Be aware however, that styled maps have lower free quotas (by a factor
of 10) than unstyled maps:
http://code.google.com/apis/maps/faq.html#usagelimits

+ What usage limits apply to the Maps API?
+ Web sites and applications using each of the Maps API may at no cost
generate:
+ up to 25,000 map loads per day for each API
+ up to 2,500 map loads per day that have been modified using the
Styled Maps feature

>
> -- Luke
>
>
>
>
>
>
>
> On Wed, Jan 18, 2012 at 8:24 PM, Rafael Gomes  wrote:
> > Hi.
>
> > Is it possible to get a map without the default point of interest?
> > How?
>
> > Here a sample:http://www.takemedia.pt/mapdemo/
>
> > On Left side I use de Google Maps V2 API and obtain a clear map (without
> > restaurants)
>
> > On Right side I use de Google Maps V3 API and obtain a map with some
> > restaurants.
>
> > I wanto to use V3 but get a map like de V2.
>
> > 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/-/BaXGBDTlI-8J.
> > 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: Geocode Viewport - Louisiana Incorrect

2012-01-18 Thread geocode...@gmail.com
On Jan 18, 10:26 am, Brian Bokor  wrote:
> Ok Submitted..thanks!
>
>  Issue 3851:    Bug: Louisiana Viewport Coords are incorrect

It is useful to provide a link to the issue:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=3851

That way anyone that finds this thread can "star" it, the more stars
the more likely it will get looked at.

  Larry

>
> On Jan 17, 11:33 pm, "geocode...@gmail.com" 
> wrote:
>
>
>
>
>
>
>
> > On Jan 17, 11:41 am, Brian Bokor  wrote:
>
> > > Yes Larry,
>
> > > I was looking for my post to put that the coord coming back to me are
> > > incorrect.  Here was the viewport coords
>
> > > "sw"=>"-89.559568,-36.598149", "ne"=>"89.860418,-147.6919"  which
> > > aren't correct.  Do you know how to submit a problem for this?
>
> > You could try the "issues" 
> > list:http://code.google.com/p/gmaps-api-issues/issues/list
>
> >   -- Larry
>
> > > On Jan 17, 4:48 am, "geocode...@gmail.com" 
> > > wrote:
>
> > > > On Jan 16, 8:43 pm, Brian Bokor  wrote:
>
> > > > > When I geocode LA or Louisiana, I get an object back from Google that
> > > > > have Louisiana, USA in it.  It has a viewport but doesn't display on
> > > > > the map like any other state.  It seems to have some issue with it.
> > > > > Thoughts?
>
> > > > Looks lie the entry in the geocoder database for Louisiana is now
> > > > broken:http://geocodezip.com/v3_zoom2stateSelectList.html
>
> > > >   -- 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] Directions: why doesn't this work?

2012-01-18 Thread Gerry Orkin
I'm new to all this. I want to display a hard-coded directions page 
(example at http://whothru.com/direction.html) in an iOS web view. It's 
adapted from the API Directions example 
at 
http://code.google.com/apis/maps/documentation/javascript/examples/directions-travel-modes.html,
 
with the pop-up menu stuff stripped out. But nothing displays when I load 
it, either in iOS or in a desktop browser.

Any ideas why that is? Any help much appreciated!

Gerry

-- 
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/-/XhWWwyESfr8J.
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] Remove default point of interest from Map (Restaurant,...)

2012-01-18 Thread Luke Mahé
You can apply a map style that turns off poi's.

-- Luke


On Wed, Jan 18, 2012 at 8:24 PM, Rafael Gomes  wrote:

> Hi.
>
> Is it possible to get a map without the default point of interest?
> How?
>
> Here a sample: http://www.takemedia.pt/mapdemo/
>
> On Left side I use de Google Maps V2 API and obtain a clear map (without
> restaurants)
>
> On Right side I use de Google Maps V3 API and obtain a map with some
> restaurants.
>
> I wanto to use V3 but get a map like de V2.
>
> 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/-/BaXGBDTlI-8J.
> 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: Quick Question

2012-01-18 Thread Rossko
> Is there a way I can save the actual map with the relevant kmloverlay
> as an image to include nin the report, or must i keep on trying other
> screenshot code till i get it right ?

Neither, probably.  Have you looked at the terms of use?
Recent thread on same topic
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/944ae0656d996d34/9d650e9830480121

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] How to delete a vertex on a polygon?

2012-01-18 Thread waggas1234


I'm using to Drawing library to draw Polylines and Polygons and other 
things.

I want, when drawing and editing the polygon, to be able to delete one 
point/vertex on the path, maybe by clicking or double-clicking on it. The 
API docs haven't seemed to hint at anything.

-- 
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/-/C1beojLWRHIJ.
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 is this map created?

2012-01-18 Thread Rossko
> In the source code i can understand the co-
> ordinate part its the creating the specific route that seems to be
> encrypted/coded as sjown but the gobblegook as shown above.

Keywords : encoded polyline
http://code.google.com/apis/maps/documentation/utilities/polylinealgorithm.html
better description
http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/
The 'levels' part isn't used in v3 API
http://code.google.com/apis/maps/documentation/javascript/geometry.html#Encoding

-- 
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 is this map created?

2012-01-18 Thread john dingo
thanks for the link but its not exactly the same as the original link
i gave,.
its how to create the specific route as shown in the blue. It does not
follow a normal google map direction, its a bus route so passes along
non direct streets. In the source code i can understand the co-
ordinate part its the creating the specific route that seems to be
encrypted/coded as sjown but the gobblegook as shown above.


On Jan 18, 9:30 pm, alex  wrote:
> http://econym.org.uk/gmap/example_cartrip.htm

-- 
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: Ordering kmlLayer and overlay

2012-01-18 Thread Enoch Lau (Google Employee)
We're taking a look - thanks.

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/-/Y8x7nDGKAwoJ.
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] Lateral field on the map

2012-01-18 Thread mcampos
Hi Guys,

Does anyone know what is the event used in the site booking where
there is a lateral field with the legend of icons?

Regards,

Murilo.

-- 
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] Quick Question

2012-01-18 Thread Marius
Hallo All

I just have a quick question.

I use v3 of the API, with geoxml3, and i load custom KML overlays.
(website still on local PC, not published yet)

Now the rest of the data I export to PDF easily, but my customer wants
the Map with the overlay included in the PDF as an image

There is multiple screen grabbers etc, and locally i can use a normal
CopyFromScreen option in my .net code, but they all does not really
seem to work, or get the correct map only part of the webbrowser
screen.

Is there a way I can save the actual map with the relevant kmloverlay
as an image to include nin the report, or must i keep on trying other
screenshot code till i get it right ?


Thanx

-- 
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] Trouble with overlays

2012-01-18 Thread Daniel W
I'm having trouble getting an overlay to show.
I suspect it may be because the div containing the map is initially
hidden, but I can't be sure.

The overlay contains a marker:
sampledata=[{'N_L':'MUSTARD', 'N_1':'COLONEL', 'g':
[-74.00597306696102, 40.714352801159]}]

The marker should be an SVG circle in Manhattan.

I've put a version of my code up here: http://bit.ly/xU7OJ3 .  Click
the button at the top to show the map.

If you search for class 'supporters' in the development console,
you'll see that the SVG exists, but is
invisible, and is located in Canada.

I would be very grateful if anyone had any guidance here.

-- 
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 is this map created?

2012-01-18 Thread alex
http://econym.org.uk/gmap/example_cartrip.htm 

-- 
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/-/BgPJsxlm4sAJ.
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 draw an area for indicating where to go with limited road distance

2012-01-18 Thread Marcelo
Driving Radius (V2) example:
http://maps.forum.nu/gm_driving_radius.html

--
Marcelo - http://maps.forum.nu
--


On Jan 18, 2:49 am, Krhome  wrote:
> Hi
> I try to make an application for an electric car. This car is limited to 50
> kms, and I need to show on a map all the area where this car can go without
> battery problem.
> My first solution was to draw a circle with a diameter of 100 kms but it
> was not the good way because it's not corresponding to the road distance.
> Do you have any idea?
> Thanks a lot

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] USA map with clickable cities

2012-01-18 Thread Randy S.
How do I add USA map to a webpage with certain cities clickable?

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



[Google Maps API v3] How to draw an area for indicating where to go with limited road distance

2012-01-18 Thread Krhome
Hi
I try to make an application for an electric car. This car is limited to 50 
kms, and I need to show on a map all the area where this car can go without 
battery problem. 
My first solution was to draw a circle with a diameter of 100 kms but it 
was not the good way because it's not corresponding to the road distance. 
Do you have any idea? 
Thanks a lot

-- 
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/-/S2gVvkRz9vMJ.
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] Ordering kmlLayer and overlay

2012-01-18 Thread Matthieu Lux


Hi,

I work on an interface with Google Maps JavaScript API V3 for some times 
now. In this interface, I use an "empty" mapType (map type which always 
return blank tile) a kml layer with all my data.

This kml contains rectangles. I develop a behavior which listen click event 
on one of these rectangles and draw the same rectangle with an overlay when 
it’s fired. It does allow the user to "hilight" my rectangles.

This worked great until today when I seen that my rectangle overlay appears 
behind the kml layer. After a deep search, I found that this is a API 
version issue. The overlay is on top with API v3.6 and behind with v3.7.

I can't understand why I getting this problems: the v3.7 update was 
deployed last November so why I got this now? But also: why a new version 
put the overlays behind? And finally: how can I do to use the last version 
get my rectangle on top?

If anyone has some answers for me, I'll be very grateful!

Matthieu

-- 
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/-/bKOGh95Sa7IJ.
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] rightclick event inside a circle

2012-01-18 Thread Eduardo
hello,

i am working in a system and I need to create a custom context menu when 
the user right click *inside* a circle. i have noticed that a right click 
on the map triggers an event with the XY position defined, and then I can 
create a menu for the map. But when the rightclick is inside a circle, the 
event doesn't have the XY position, and I can't show the menu at the right 
position!!

anyone knows how to get the screen XY position when the click event is 
triggered?!

-- 
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/-/gZ439uuALxMJ.
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] reference to google.maps.Map

2012-01-18 Thread qtrimble
I've stumbled and tripped to wrap my heads around javascript and the
google maps api v3 and have been successful but the solution to this
problem has completely eluded me.

I've designed an application that displays water quality parameter
data.  One way I'm displaying this data is through a geographic trend
map which is were the api comes into play. The number of parameters on
display can vary.  For this reason I call a javascript function within
a php loop that passes a given parameter and iteration index to the
javascript function which creates the map and calls a php script to
get the information necessary to plot markers on the map. The map is
rendering but I'm running into problems resizing the map b/c of the
known issue with using display none. The show/hide functionally is
desired to save page real estate due to the large number of parameters
that are available for display. The link below only uses 3 parameters
but there are many many more.

Based on this method, my map variable is overwritten each time the
function is called.  I would use a global map variable but I have no
idea how many different maps there will be because it varies depending
on what the end user wants to see. With that said, how am I to
reference the map that I need to apply the map resizing fix?

i.e.:
google.maps.event.trigger(map, 'resize');
map.setZoom( map.getZoom() );


http://bccmws.coastal.edu/enteroview/report_test.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] Remove default point of interest from Map (Restaurant,...)

2012-01-18 Thread Rafael Gomes
Hi.

Is it possible to get a map without the default point of interest? 
How?

Here a sample: http://www.takemedia.pt/mapdemo/

On Left side I use de Google Maps V2 API and obtain a clear map (without 
restaurants)

On Right side I use de Google Maps V3 API and obtain a map with some 
restaurants.

I wanto to use V3 but get a map like de V2.

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/-/BaXGBDTlI-8J.
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] Query limit reached?

2012-01-18 Thread MikeZ
We're using the Stata geocode utility to batch-process geocoding.  
Yesterday we started to receive messages that our query limits had been 
reached.  We are not geocoding anywhere near the 2500 daily limit, nor has 
this limit even begun to be enforced to my knowledge.
 
Can anyone tell me why we'd be getting this message at all?
 
Speaking of which, if we ever did want to process more than 2500 records in 
a day, where do we go to provide payment information?

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



[Google Maps API v3] how is this map created?

2012-01-18 Thread john dingo
http://www.lancashirebus.co.uk/times.jsp?routeID=90&iP_show=routes

The above website has a animated google map.
I have looked at the source code and can understand the basic co-ordinates 
used, however the route function seems to be coded 

As you can see its coded like this:

var pathOut = 
"uzqgI|doLvAdHr@fIAn@Kx@An@Dn@C^|@|ElBnFb@t@|DhE~@pA`BpC|A|DvB~IvDzRhAxDR\\Nh@j@`ALf@vBpEtEhL|@bBb@f@vAj@`B^|Ex@xCTxERzDMdAFdAZd@\\jBzBhClBp@XvBZbDNlDClOg@xg@kI~G]xHOtDHvDr@bFxC|Ap@NGNS`@qA`@STNpB`FvAnCnU|P`EpDfCnA|ELpAPp@_@|@aAxBuDbDwBnCs@l@MvIK`@KT_@TGZd@B`@Ih@YRIdC~@PvBpCxAxBq@`CdBjBuBrGjA|AxI`N^~@d@XHOXC\\XDRvAhCVr@RtBC~@a@fEAxANzAn@|BlCtFx@jA|@t@j@T~FnAnLrBrAOzFqAv@Dz@ZdBtBh@`@~BlAnJlFT\\tGfEzGjD|Ar@vTlCfHn@dHTjUmAvJwBrCM|Ak@~@OvIz@bAf@dAvApBhDvMtVlGlJt@~AvAtEbDzKlAbF~@dHb@dEl@|Ch@jBdNp`@~D|K`A|BdAlA`DjCfKlGjIfFvCzApKxAhJt@xSfA~CJxBKhGuEnDkB|Bs@|CKt@RbBx@tDtCfC~Af@l@lEbDvBhCfCjBlAh@jBZzCM~@FjBn@|BpAlKpFtDrAlAH?m@?l@|@E`Be@|AsAzBeChDkB|Be@vG_A`FyAlB{@zCcBlByAz@w@j@_AvAiEXe@dBsAfBUjBAPiBxAM`BgAdBc@fBbB~AxCFnBbCvBzBrCtCtCxApBTr@AhA`A`D^jDNbDPtNJ`DL`Cj@nGj@bEvA~Gx@zCrA|D~ApDpA`ClBpCdAlA`FlElFbCjBd@`C^bDJxDOzB[v@e@`G_@tOKlGf@lEn@hEhAhj@bQvMlD~FfA|HfAxId@rCIpC]`Dg@~Bq@~DkBtCeBhHmFrC_BvCuAjC}@xGsAxBQtdA{A`DJlD^bJxBrEp@dDBdDKvC_@`EkAlEwBbEwCpBoBbCwCbBgCpDcHhHcOvEoIpE}GhDmEbIeJzBwCbH{KzEqJpGoOzCyFpCyDzEsF~EeEzDyB|DaBdEkAhC_@pLmAvEcA~EiBtEsBnLcH|DqBze@kS`GqC|EqCfDqAnFmAzB[lCDjER~Ch@tDfAbChA~GbCrFjAbFb@hJLnEMtEq@jLaCrHcAbJi@xZKfKSpG[tKw@jKoAbOgCd^aJjHeCzGcDtFeDzFeElC_C\\w@\\e@xE}FbE}Fd@aBFgAJi@nAgBdAmAl@A`@V`AvCZnANlAO|AbC`OpCnK@nAIZxHxa@jE`TvDrOtEhPpD|KnEdKzBnCjHzMfAbAlCt@`CStHiEGa@s@d@r@e@F`@tGoDvGqEzq@uo@b@o@tJeKbDgChFuHlAqAtCaBvF{ArDy@vAk@n@g@xAyA`GwH~AcCbAcBvIsTx@yAhAqAf@YtF}@`D{@`JyEf@[T_@PKzAo@^C`D_BnR}JjDgCtPqOxC_DbDqCvPmP|MuK`JoIlEsCh@a@HS|BsA~AsA^SNDnDcCrDFbAHvBr@`@VTChAXfA|@`HhEhKlG~@oG|@sHTQ`@mBRi@nBoDjAgC~BkGfCuFoFiKbCuF";var
 levelsOut = 
"PCB@@@?CEC@@CADAAD@@?@@B@IB?D?BAEABBD@BF@DCEADCAE@AAGA@DABGAEABCE?CCAAHACABDC@DDEE@ACBABC@EAC@BAEACAHAAEABFB@C?BAB@EGAECBA@DBI@AAAE?AC@AD@A@GAC?AIAC@FCACBGAB@C@BAEACADA?CBHCCAC@BD@CAEA@DA@CEADDBBIBCCAABAFBBC@@?C@BF@B@D@BIACAEBABDBFACAD@BLABAEB@ADABGAEACABDABIBC@EA@AD@B@DCAADAHCAEABCAEA@CBAAH@D@EABABDAFABADBAD@BHBDBFBAE@AACA@C@JAC@DACBB@CDBAFBCBEBCJBBDCBAEB@ACAEB@BAFAB?DC@FAADB@@B@B?FAB@ACABA@AAHAAD@F@AACA?H@DA@A@AAFEP";var
 pathIn = 


How can I create a similar animated map for a walking tour route?
It seems the code to create the route, ie, the blue lined route is in some 
special code.,

There must be a way to create a similar kind of map but cant understand how, 
anyone any ideas?
I did email the website creator but they will not reply.

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



[Google Maps API v3] Markers do not appear on the map

2012-01-18 Thread alex
When I load  friends*removethis*ofplaces.com, from scratch, the markers 
don´t appear, although they are loaded. When I reload the page, the markers 
appear. Hint for debugging: the code to load the markers is in the function 
load_placemarks(), which is inline to the page.

-- 
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/-/JUdieG2bz6sJ.
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] Use Reverse Geocoding to find a shopping mall name

2012-01-18 Thread Gibbo
Hi,

I have the below function which works well. It basically looks up
addresses and the province/state/emirate of an area and adds it to a
table using reverse geocoding.

I would also like to know if the latitude/longitude coordinates are in
a shopping mall and which shopping mall it is. I think it is possible
to get this information through google places but I have been trying
for the past 5 hours and I'm no further forward.

Is this possible? and if so could someone please show or provide an
example?

Thank you,


Current Function that works well:

function ReverseGeoCode(position, locfield) {

var input = (String(position));
var latlngStr = input.replace(/[\(\)]/g, "");
var latlngSplit = latlngStr.split(",",2);
var lat = parseFloat(latlngSplit[0]);
var lng = parseFloat(latlngSplit[1]);

var latlng = new google.maps.LatLng(lat, lng);
geocoder.geocode({'latLng': latlng}, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {

if (results[0]) {
// Adds address to the Location Field
address = 
(results[0].formatted_address);
document.getElementById("Location" + 
locfield).value = address;

var arrAddress = 
results[0].address_components;

// Checks and adds the City Name if 
available
for (var i=0; ihttp://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] I created an Animation class to move Markers across a map - is this useful?

2012-01-18 Thread Coen de Jong
Hi all,

I'm fairly new to this all so don't burn me down just yet...

After I discovered that there is no good way to animate Markers across the 
map (in fact the only animations available are the DROP and BOUNCE ones 
upon creation), I decided to create my own class that can do this. It's 
attached to this message.

I tried to follow the Maps v3 style of object specification as much as 
possible. Here's a usage example:

marker.animation = new MarkerMoveAnimation(marker,
{ 
name: name
,from: start
,to: new google.maps.LatLng(-33, 150)
,duration: 500
,effect: 'easeout'
,onStep: function(e)
{ 
e.marker.leash.setPath([start, e.marker.getPosition()]);
}
,onComplete: function(e)
{
animating = false;
}
})

See the source for the full class capabilities, it is not that hard to 
understand. It supports the callbacks onBeforeStart, onStep (fires on each 
step of the animation) and onComplete (whenever an animation is stopped, 
can also be invoked when directly calling stop() on the instance. The 
callbacks get the object instance passed along, so you can access the 
marker and it's methods.

   1. Is this helpful?
   2. Please give feedback on code efficiency, bugs, etc.
   3. Where should I go with this? Should I create a google code project or 
   just place it somewhere online?
   4. Maybe there is a need for a generic animation class that allows for 
   opacity (fade in/out) animation and possibly other things as well?

I personally use this class to animate markers that are too close together 
which makes it too hard sometimes to click the markers.

-- 
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/-/pUeQkMKhJiAJ.
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.animatemarker.js
Description: JavaScript source


[Google Maps API v3] Re: 2011/11/7 - New Release (3.7) - editable shapes, DrawingManager, and more

2012-01-18 Thread rtp
See my previous post and reply.  Need to listen for the REMOVE_AT event
thanks
rtp

-- 
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/-/U2kLS5n7lYEJ.
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: 2011/11/7 - New Release (3.7) - editable shapes, DrawingManager, and more

2012-01-18 Thread rtp
Well, answered my own question.  Need to listen for the REMOVE_AT event.  
My Master of the Obvious degree failed me yesterday, but it appears to have 
kicked in today.  

-- 
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/-/qVEfvZW7Mh0J.
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: Geocode Viewport - Louisiana Incorrect

2012-01-18 Thread Brian Bokor
Ok Submitted..thanks!

 Issue 3851:Bug: Louisiana Viewport Coords are incorrect

On Jan 17, 11:33 pm, "geocode...@gmail.com" 
wrote:
> On Jan 17, 11:41 am, Brian Bokor  wrote:
>
> > Yes Larry,
>
> > I was looking for my post to put that the coord coming back to me are
> > incorrect.  Here was the viewport coords
>
> > "sw"=>"-89.559568,-36.598149", "ne"=>"89.860418,-147.6919"  which
> > aren't correct.  Do you know how to submit a problem for this?
>
> You could try the "issues" 
> list:http://code.google.com/p/gmaps-api-issues/issues/list
>
>   -- Larry
>
>
>
>
>
>
>
>
>
> > On Jan 17, 4:48 am, "geocode...@gmail.com" 
> > wrote:
>
> > > On Jan 16, 8:43 pm, Brian Bokor  wrote:
>
> > > > When I geocode LA or Louisiana, I get an object back from Google that
> > > > have Louisiana, USA in it.  It has a viewport but doesn't display on
> > > > the map like any other state.  It seems to have some issue with it.
> > > > Thoughts?
>
> > > Looks lie the entry in the geocoder database for Louisiana is now
> > > broken:http://geocodezip.com/v3_zoom2stateSelectList.html
>
> > >   -- 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] Re: Why are my KML markers not loading?

2012-01-18 Thread Niklas Rosencrantz
My data doesn't change often and doesn't tequire the very newest data. It
is sufficient for my needs to update the file maybe once a day so I could
write a job that updates the file only when data is updated.

Thank you for the help /Nick

On Wed, Jan 18, 2012 at 10:51 AM, Rossko  wrote:

> > I posted most of my code for review to
>
> Good, this isn't the place for non-Maps code dumps.
>
> > - Make a cron job that accesses the file every 5 minutes to keep the data
> > fresh in memcache
>
> Why, how often is your data updated?  How about changing your code to
> create a new KML file only when the data is updated?
>
> Bear in mind that when using KmlLayer to display KML, your KML (when
> successfully read) will be cached at Google's servers for some hours.
> If your data changes often, you will need to overcome that caching as
> well.
>
> --
> 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: Why are my KML markers not loading?

2012-01-18 Thread Rossko
> I posted most of my code for review to

Good, this isn't the place for non-Maps code dumps.

> - Make a cron job that accesses the file every 5 minutes to keep the data
> fresh in memcache

Why, how often is your data updated?  How about changing your code to
create a new KML file only when the data is updated?

Bear in mind that when using KmlLayer to display KML, your KML (when
successfully read) will be cached at Google's servers for some hours.
If your data changes often, you will need to overcome that caching as
well.

-- 
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 map as a non-default view

2012-01-18 Thread Rossko
> Can I code my pages to display text-results pulled from my own
> database for a location, and then create a button to go to Map-view,

I can't see any difference between that and say, a mapless website
homepage with a 'find us' button that goes to a page with a map.  Not
sure where you see a possible Terms problem?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Change center & zoom on-the-fly

2012-01-18 Thread Pil
What didn't you like at this answer or what was mistakable?

http://groups.google.com/group/google-maps-api/browse_thread/thread/f014443f0a663b47

On Jan 17, 7:38 pm, Bill Whitacre  wrote:
> A few years back I made a map with the help of the book "Beginning Google 
> Maps Applications with PHP and AJAX", Mike Williams and some luck.
>
> 
>
> The map has a header with areas of the world and a sidebar showing systems in 
> that area of the world.
>
> What I'd like to do is change the map's center and zoom based on what area 
> one chooses.
>
> The Javascript that makes the map is here:
>
> 
>
> Any hints on where I might start with this would be much appreciated!
>
> Thanks.
>
> Bill Whitacre
> b...@his.com

-- 
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 map as a non-default view

2012-01-18 Thread Tejas B
This is a points of interest search app, so the results would be
restaurants, and other points of interests from our own database.

My high-level understanding of the rules for using Google map API is
that you have to display the map on page. While that works perfectly
fine on desktop browsers, on mobiles due to space constraints and
bandwidth concerns, I want to display a text-list of results, and
leave it to the user to select to go to a map view. Hence the map
won't be technically ON PAGE.

Can I code my pages to display text-results pulled from my own
database for a location, and then create a button to go to Map-view,
instead of showing the map as a default option? Or would that void my
agreement?

-- 
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: Example for: google.maps.visualization.MapDataLayer class

2012-01-18 Thread Thor Mitchell (Google Employee)
This class is currently exclusively for use by Google Earth Builder 
customers.

If you are an existing Earth Builder customer please contact Google 
Enterprise Support for further assistance.

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