[Google Maps API v3] Re: API Console reports 2 requests for every map load

2011-12-01 Thread Petr Šejba
I have noticed the same behavior -- every map load is counted as 2
requests.

-- 
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 draw a line from the center of a Circle to the edge given an angle.

2011-12-01 Thread skrite
That geometry library was exactly what i needed. Thanks very much to
all of you.
-shawn

On Dec 1, 2:32 pm, Rossko  wrote:
> > I need to draw a circle with a line that goes from the center to the edge
> > of the circle at a certain angle.
>
> So, ignoring the circle, you want to draw a line from 'centre' to a
> second point at bearing 'x' and distance 'r'
> Seehttp://www.movable-type.co.uk/scripts/latlong.html
> or use the geometry library 
> computeOffset()http://code.google.com/apis/maps/documentation/javascript/geometry.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: Different locations between maps.google.com and Google Maps API

2011-12-01 Thread Alexander
Thanks Rossko for the great tip! It works! So for everybody who is curious 
how to get the desired locations: use a LatLng object instead of a String 
in a DirectionsRequest! Thanks everybody for your time.

-- 
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/-/wDv8AhgJUScJ.
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: Different locations between maps.google.com and Google Maps API

2011-12-01 Thread Alexander
I tried to use a LatLng object instead of a String, but unfortunately it 
gives the same result. Is there another way to get the exact location even 
with not existing addresses? For example by doing a DirectionsRequest I 
will receive location of the address that is nearby, but I want to have the 
location on the road which is nearby my measured location just like in 
maps.google.com. See examples above. Is it maybe worthy to check if I get 
the right locations by first Geocoding my LatLng value? I hope it is still 
clear what I want and what I'm saying. 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/-/5wy69-YjlyEJ.
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] TOS: Is it violated if 3rd party posts a link to our app on a forum that requires a fee for reading the forum?

2011-12-01 Thread Joseph Elfelt
To the best of my recollection, this interesting question has not been
discussed here.

Every now and again I spend a bit of time scanning  my server log to
get a feel for who is doing what with my API app (http://
www.mappingsupport.com/p/gmap4.php).  Perhaps you have done the same
for your app.

Many of the sites using my app are known to me and are 100% free.  But
sometimes when I see a new site requesting maps through my app, I take
a look at the site instead of tending to business.  It turns out that
a small percent of those cases are sites (often forums) where one has
to pay money in order to access the site.

In other words, one has to pay money in order to see the link to my
API app.  Gee, does that mean I am violating the TOS requirement that
apps (subject to narrow exceptions) be free?

Obviously none of us API developers have any control over where 3rd
parties chose to post links to our apps.

Your thoughts?





-- 
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: Different locations between maps.google.com and Google Maps API

2011-12-01 Thread Alexander
@JKurtock thanks! That explains why I get those strange results when I use 
the Directions API. At least that is clear now. The thing is that I'm 
scanning for locations (gps of an Android device) and I want to connect 
those points and get the directions between them. They don't have to be 
real addresses as you may understand.

@Rossko that is worth trying! I will try it and will let you know if it 
worked.

-- 
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/-/0zvGZXx44FAJ.
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: API Console Counts

2011-12-01 Thread Chris Broadfoot
Hi all,

We're looking into it - looks like there's a problem with our graphs - as
far as I know we're actually counting quota correctly, just displaying it
incorrectly.

Chris

--
http://twitter.com/broady



On Fri, Dec 2, 2011 at 7:54 AM, Richard Davies wrote:

> Yes, I've noticed my console reporting two requests for every page load
> also.
>
>  --
> 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/-/B96RJ22iZjIJ.
>
> To post to this group, send email to
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

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



Re: [Google Maps API v3] Client side Geo-coding --- process

2011-12-01 Thread Ben Appleton
On Fri, Dec 2, 2011 at 8:53 AM, kShan  wrote:

> We are using client-side Geocoding for our product which is going live in
> few weeks and I want to make sure that we won't run in to any query
> restrictions when we go live. Please review the below items and share your
> comments/thoughts. Thanks!
>
> --Website will display list of hotels close to a user based on user's
> input address.
> --We will be using client-side Geocoding. so when a user does a search
> for a hotel on the website, all requests will be counted against the user's
> IP address
> Example: if there are say 3000 searches done in a second by 3000 different
> users, and if we use clientside geocoding then that 3000 requests will be
> counted against the client's IP addresses. Our hosting server will not hit
> any quota limitations
>

That's right. Client services (such as geocoding) count against the client,
not your server.

--We will be displaying the results in a map to meet Google's terms of
> Use
> --On a separate page, when a user clicks on a hotel, we display the
> hotel's address as a marker in google Map. This is again client side
> geocoding.
>
> Anything else we should be aware of? all answers/help greatly appreciated.
> 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/-/4v28VR2y7HsJ.
> 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: Zoom to Feature/Point from drop down menu

2011-12-01 Thread geocode...@gmail.com
On Dec 1, 2:01 pm, Amelia Griza-Padilla 
wrote:
> Hi Larry,
> Thanks so much for all your help!  Sorry, this is probably really
> simple but not sure how to do parse the coordinates out of the 
> element so that it zooms to the point.
>
> Can you please explain?

My main point was you have two columns "geometry" and "Coordinates".
In row 1 for example, geometry contains:
-118.246208,33.923831,0.0

Coordinates contains:
33.923831,-118.246208

You need to extract those coordinates (latitude=33.923831,
longitude=-118.246208), use them to create a google.maps.LatLng
object, then use that as the argument to a call to map.setCenter().

It would be simpler to use the Coordinates column (just do a
String.split(",")), but you can parse it out of the kml.  I thought I
saw an example posted to the group that did that, you could try
searching for it (or maybe someone else can point to that reference, I
can't find it right now)

  -- Larry

>
> Best,
> Amelia
>
> On Nov 30, 11:41 pm, "geocode...@gmail.com" 
> wrote:
>
>
>
>
>
>
>
> > On Nov 30, 5:38 am, "geocode...@gmail.com" 
> > wrote:
>
> > > On Nov 29, 3:19 pm, Amelia Griza-Padilla 
> > > wrote:
>
> > > > Hello,
> > > > Having some issues with trying to zoom to selected features from a
> > > > drop down menu.  For some reason it changes the icon from blue to red,
> > > > does not zoom to the point and there is nothing in the info window
> > > > once you select a location from the drop down menu.
>
> > > Your "kml" column in the fusion table now contains markers, not
> > > polygons (if I recall your original map correctly, the kml column only
> > > contained polygons defining regions).
>
> > > The code assumes that kml will be polygons, you need to change it to
> > > account for the change in your fusion table.
>
> > geoxml3 is probably overkill for what is needed if all you have in the
> > fusion table are markers (it is pretty easy to parse the coordinates
> > out of the  element),   and you already have the coordinates in
> > a separate column, that is redundant information (look at the kml in
> > the geometry column, that is all it contains), however, you will need
> > to decide how close you want to zoom for each marker.
>
> >   -- Larry
>
> > > There are examples that zoom to a group of 
> > > markers:http://www.geocodezip.com/www_vciregionmap_comC.html
>
> > > You could modify that to provide your required functionality.  The
> > > reason it looks like it is changing the icon to red, is that geoxml3
> > > puts a red marker on top of the existing blue one, you can hide it
> > > (like was done for the polygons) by calling setMap(null) on the
> > > _marker_ that is being places on the map by geoxml3:
>
> > > geoXml.docs[0].markers[0].setMap(null);  // (untested)
>
> > > (and probably remove other line that references
> > > geoXml.docs[0].gpolygons)
>
> > > > My goal is to be able to zoom to the feature once you select it from
> > > > the drop down menu and have the info window instantly pop up once the
> > > > location is selected.  (Ideally I would have liked a sidebar instead
> > > > but I'm having issues with the drop down, not sure if the code changes
> > > > a lot to achieve this instead).
>
> > > I have examples with sidebars also:
>
> > >http://www.geocodezip.com/geoxml3_test/v3_FusionTables_Watershed_Stew...
>
> > > However, note that each example depends heavily on the format of the
> > > Fusion Table being used, you will need to either change your Fusion
> > > Table to be consistent with the code or change the code to deal with
> > > the format of your Fusion Table.
>
> > >   -- Larry
>
> > > > Any help greatly appreciated.
>
> > > > Here is the 
> > > > link:http://www.advocacy.ucla.edu/Maps/UCLACommunityBanners.html
>
> > > > Thanks in advance for any assistance.

-- 
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] Gmap3 and kml

2011-12-01 Thread Andrew Leach
On 1 December 2011 21:28, djkuddel  wrote:
>
> Where can be the problem?

Not easy to tell without a link to see the problem. But one guess
might be the time taken to serve your dynamic KML. Google's servers
don't wait for very long before giving up.

-- 
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] Preserving the viewport after switching layers

2011-12-01 Thread John Tanner
Hi all,

'm having a few problems with a map that I've created; I'm sure that
it is a simple problem. The map is here 
http://www.sheldonvillage.org.uk/broadband.html
and toggles between upload and download speeds. The problem is that
when changing between layers, preserveViewport doesn't seem to work;
the viewport resets back to the default.

I'd appreciate any help,
John

-- 
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: Zoom to Feature/Point from drop down menu

2011-12-01 Thread Amelia Griza-Padilla
Hi Larry,
Thanks so much for all your help!  Sorry, this is probably really
simple but not sure how to do parse the coordinates out of the 
element so that it zooms to the point.

Can you please explain?

Best,
Amelia

On Nov 30, 11:41 pm, "geocode...@gmail.com" 
wrote:
> On Nov 30, 5:38 am, "geocode...@gmail.com" 
> wrote:
>
> > On Nov 29, 3:19 pm, Amelia Griza-Padilla 
> > wrote:
>
> > > Hello,
> > > Having some issues with trying to zoom to selected features from a
> > > drop down menu.  For some reason it changes the icon from blue to red,
> > > does not zoom to the point and there is nothing in the info window
> > > once you select a location from the drop down menu.
>
> > Your "kml" column in the fusion table now contains markers, not
> > polygons (if I recall your original map correctly, the kml column only
> > contained polygons defining regions).
>
> > The code assumes that kml will be polygons, you need to change it to
> > account for the change in your fusion table.
>
> geoxml3 is probably overkill for what is needed if all you have in the
> fusion table are markers (it is pretty easy to parse the coordinates
> out of the  element),   and you already have the coordinates in
> a separate column, that is redundant information (look at the kml in
> the geometry column, that is all it contains), however, you will need
> to decide how close you want to zoom for each marker.
>
>   -- Larry
>
>
>
>
>
>
>
>
>
> > There are examples that zoom to a group of 
> > markers:http://www.geocodezip.com/www_vciregionmap_comC.html
>
> > You could modify that to provide your required functionality.  The
> > reason it looks like it is changing the icon to red, is that geoxml3
> > puts a red marker on top of the existing blue one, you can hide it
> > (like was done for the polygons) by calling setMap(null) on the
> > _marker_ that is being places on the map by geoxml3:
>
> > geoXml.docs[0].markers[0].setMap(null);  // (untested)
>
> > (and probably remove other line that references
> > geoXml.docs[0].gpolygons)
>
> > > My goal is to be able to zoom to the feature once you select it from
> > > the drop down menu and have the info window instantly pop up once the
> > > location is selected.  (Ideally I would have liked a sidebar instead
> > > but I'm having issues with the drop down, not sure if the code changes
> > > a lot to achieve this instead).
>
> > I have examples with sidebars also:
>
> >http://www.geocodezip.com/geoxml3_test/v3_FusionTables_Watershed_Stew...
>
> > However, note that each example depends heavily on the format of the
> > Fusion Table being used, you will need to either change your Fusion
> > Table to be consistent with the code or change the code to deal with
> > the format of your Fusion Table.
>
> >   -- Larry
>
> > > Any help greatly appreciated.
>
> > > Here is the 
> > > link:http://www.advocacy.ucla.edu/Maps/UCLACommunityBanners.html
>
> > > Thanks in advance for any assistance.

-- 
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] Client side Geo-coding --- process

2011-12-01 Thread kShan
We are using client-side Geocoding for our product which is going live in 
few weeks and I want to make sure that we won't run in to any query 
restrictions when we go live. Please review the below items and share your 
comments/thoughts. Thanks!

--Website will display list of hotels close to a user based on user's 
input address. 
--We will be using client-side Geocoding. so when a user does a search 
for a hotel on the website, all requests will be counted against the user's 
IP address
Example: if there are say 3000 searches done in a second by 3000 different 
users, and if we use clientside geocoding then that 3000 requests will be 
counted against the client's IP addresses. Our hosting server will not hit 
any quota limitations

--We will be displaying the results in a map to meet Google's terms of 
Use
--On a separate page, when a user clicks on a hotel, we display the 
hotel's address as a marker in google Map. This is again client side 
geocoding.

Anything else we should be aware of? all answers/help greatly appreciated. 
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/-/4v28VR2y7HsJ.
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] Gmap3 and kml

2011-12-01 Thread djkuddel
 

Hi,

I want to use kml files with the jquery gmap3 plugin.

I have following issue.

Add I a link to a static kml file, than the points will display.
But if I add a dynamic kml file (mean create by php on the fly) than gmap3 
do not display my point.
I check the output of this dynamic kml at a kml validator and all is ok, 
also in google earth the points will display.

I do all in php what I need by this site look this instruction 
https://www.cems.uwe.ac.uk/studentwiki/ 
… 
edirect=no

Where can be the problem?

Firebug give me no errors !!!

Many thanks,
DJ

-- 
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/-/tfjyOFUx67YJ.
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: API Console Counts

2011-12-01 Thread Richard Davies
Yes, I've noticed my console reporting two requests for every page load 
also.

-- 
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/-/B96RJ22iZjIJ.
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] API Console reports 2 requests for every map load

2011-12-01 Thread Richard Davies
I've started using an API key to track my GoogleMaps API usage. However, 
I've noticed that the API console reports two requests every time I load 
the page with my map on it:

http://www.portlandmaps.com/detail.cfm?action=PublicArt&propertyid=R246103

I've verified with a HTTP request monitor that the API JavaScript file is 
only being loaded once per page load, so I can't figure out why the number 
of requests in the console increments by two with every page load. Any 
ideas?

-- 
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/-/SaTXTMrJ5ooJ.
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 a line from the center of a Circle to the edge given an angle.

2011-12-01 Thread Marcelo
This example:
http://maps.forum.nu/temp/gm_bearing.html

is API V2, but the math to calculate the angles is version agnostic.
You can drag the markers to redraw.

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




On Dec 1, 11:47 am, skrite  wrote:
> Hey all
>
> I need to draw a circle with a line that goes from the center to the edge
> of the circle at a certain angle. I know that i can draw to the exact
> North, South, East, and West using the getNorthEast() function and such,
> and use the difference to draw the other side.
> However, i need to know how to draw the line if the angle is not 0, 90,
> 180, or 270 degrees. If i know the lat,long of the center, and i know the
> radius in meters (what i need to get a circle on Google Maps), what can i
> use to get the lat,long of a line at X angle?
>
> Oh, and if it matters, the circles are only about 2 miles across the
> Diameter.
>
> Thanks for any tips.
>
> skrite

-- 
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: Wrong geolocalization in the API, good one in the application

2011-12-01 Thread Rossko
> when looking for "cep 05804-900 Brasil" in maps.google.com, the resut is
> ok,

If I try that in maps.google.co.uk I get
  "We could not understand the location cep 05804-900 Brasil"

This may be out of date
   http://gmaps-samples.googlecode.com/svn/trunk/mapcoverage_filtered.html
but it says about geocoding in Brasil "Yes (same as tiles)"
What that generally means is that the geocoder knows e.g. town and
street names as they can be seen on the map imagery - but won't know
about postal codes.

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



[Google Maps API v3] Re: google maps gives the wrong position

2011-12-01 Thread Rossko
> This is the link to the websitehttp://www.go-jek.com/cek_harga.html

The search for "plaza senayan Jakarta" returns two results
  [0] "Jalan Senayan, Jakarta Capital Region, 12180"
  [1] "Jalan Plaza Senayan 1, Jakarta Capital Region 12220, Indonesia"
They both come up as partial matches, the geocoder isn't able to
decide which one you meant.  It's your code that chooses the first
one.

Searching at maps.google.com is different because it also searches
e.g. business listings, many businesses appear to describe themselves
as being at "Plaza Senayan"

-- 
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: Question about terrain-type map and about external contour map

2011-12-01 Thread bstaros...@koptevo.net
Thank you very much, 
so I decided to choose Google Maps! :)

-- 
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/-/Kh7sAYSWI5EJ.
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 a line from the center of a Circle to the edge given an angle.

2011-12-01 Thread Rossko
> I need to draw a circle with a line that goes from the center to the edge
> of the circle at a certain angle.

So, ignoring the circle, you want to draw a line from 'centre' to a
second point at bearing 'x' and distance 'r'
See
http://www.movable-type.co.uk/scripts/latlong.html
or use the geometry library computeOffset()
http://code.google.com/apis/maps/documentation/javascript/geometry.html#Distance

-- 
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 draw a line from the center of a Circle to the edge given an angle.

2011-12-01 Thread skrite
Hey all

I need to draw a circle with a line that goes from the center to the edge 
of the circle at a certain angle. I know that i can draw to the exact 
North, South, East, and West using the getNorthEast() function and such, 
and use the difference to draw the other side.
However, i need to know how to draw the line if the angle is not 0, 90, 
180, or 270 degrees. If i know the lat,long of the center, and i know the 
radius in meters (what i need to get a circle on Google Maps), what can i 
use to get the lat,long of a line at X angle?

Oh, and if it matters, the circles are only about 2 miles across the 
Diameter.

Thanks for any tips.

skrite

-- 
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/-/Q_YJZncBbVwJ.
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: Different locations between maps.google.com and Google Maps API

2011-12-01 Thread Rossko
> Or can somebody give a solution?

You might try parsing your text lat/lon strings and create a LatLon
object, which you can pass to Directions instead of strings.
http://code.google.com/apis/maps/documentation/javascript/services.html#DirectionsRequests
I do not know, but suspect, that would avoid the service trying to
second guess where you meant.

-- 
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: moving the mouse over the custom marker creates mouseover and mouseout events

2011-12-01 Thread Rossko
> http://cdtestsite.com/Forum/testingNestedDiv.html
>
> and seem to work fine. THis is exactly what I am trying in the custommarker
> html.  what is the difference.?

What is the same about it?  I think if you implement counters on that
one too, you may be suprised

-- 
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: Different locations between maps.google.com and Google Maps API

2011-12-01 Thread JKurtock
I can't speak specifically to maps.google, but the directions API
tries to put the end point(s) of the route at the street in front of
"your house." So if you provide the LatLng of the center of a large
shopping center as the destination, the route will actually end on the
street "in front of" the shopping center.

In your example, your destination LatLng is in the middle of a vacant
lot.  (I'm not sure where your LatLng came from, but you can try
dropping a Marker there to see.)  It looks like the directions service
is trying to find the nearest "real" address, which looks to be the
office building labelled "Bunzl Verpakkingen Arnhem BV."  And that is
where it ends up.

In maps.google, it looks like it is accepting the parking lot (car
park) at the end of Delta (Street) as an acceptable destination.
(This is not too surprising; the geoCoding API in maps.google is
different from the API because the API looks only for addresses,
whereas maps.google includes a Places function as well, so the results
are often different.)

If you assure your destinations are real places, you will probably get
more consistent results between the API and maps.google.com.

- Jeff

On Dec 1, 4:14 am, Alexander  wrote:
> Hi all,
>
> I will summarize what the problem is. I have to draw TWO different routes
> in the same map. This is afaik only possible by using the Google Maps API.
> But using that gives me less accurate positions. When I draw the route
> directly in maps.google.com by filling the querystring it will give me the
> exact positions.
>
> For 
> example:http://maps.google.com/maps?saddr=51.979362,5.980457&daddr=51.979402,...http://www.stuurhut.nl/google/map.html?origin=51.979362,5.980457&dest...
>
> The map and directions in the second url are made with help of the API.
>
> Can somebody explain this? Or can somebody give a solution?
>
> Thanks in advance!

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



[Google Maps API v3] Re: Editable Poly events?

2011-12-01 Thread Rossko
> But what about an editable Polyline or Polygon?

I think this was answered in
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/21b52a23b5e31126#
referring to
http://code.google.com/apis/maps/documentation/javascript/overlays.html#user_editable_shapes_events

-- 
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] Map View Limit in Premier License

2011-12-01 Thread Markus
Hello!

As I have read, the Premier License for $ 10,000 incluces 1 million
map views (javascript) per day. But does that mean that it covers 365
million map views per year maximum (if distributed evenly :-) or are
there additional monthly or annual limits?

Thank you and best regards,
Erwin

-- 
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: Help! Query exceed limit - anything to do with calculating driving distance?

2011-12-01 Thread kShan
After much research we decided to display results based on straight line 
distance instead of calculating driving distance. Even driving distance API 
has restrictions on the number of elements we can use per day. We will run 
in to this issue when we go live.

This is our approach as we don't want to run in to the 2500 quota 
limitation when we go live; Would aprreciate if you can point out any 
concerns we should be aware of in the below approach

We will be using client-side Geocoding. so when a user does a search for a 
hotel on the website, all requests will be counted against the user's IP 
address
Example: if there are say 3000 searches done in a second by 3000 different 
users, and if we use clientside geocoding then that 3000 requests will be 
counted against the client's IP addresses. Our hosting server will not hit 
any quota limitations
We will be displaying the results in a map to meet Google's terms of Use
On a separate page, when a user clicks on a hotel, we display the hotel's 
address as a marker in google Map. This is again client side geocoding. 

Anything else we should be aware of? all answers/help greatly appreciated. 
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/-/68WEir9p2jsJ.
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: Geocoding problem: always getting OVER_QUERY_LIMIT error

2011-12-01 Thread kShan
Are you using client side geocoding or serverside? if clientside then the 
quota is against the clien't IP address and not against your server. not 
sure whether this addresses your question

-- 
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/-/bFIDxR7UObEJ.
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: moving the mouse over the custom marker creates mouseover and mouseout events

2011-12-01 Thread rlk27
Thank you very much Rossko.  But I tested the same html in
 
http://cdtestsite.com/Forum/testingNestedDiv.html
 
and seem to work fine. THis is exactly what I am trying in the custommarker 
html.  what is the difference.?
 
Thanks
rlk27

-- 
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/-/bQuvIGwjx3UJ.
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] custom overlay div getting squeezed

2011-12-01 Thread Johnny
hi,

I'm trying to create a custom overlay that basically just contains a
HTML element (a div in this case) with text in it. The overlay gets
rendered ok but the text is multiline. Looking into the DOM with
Firebug I can see that the computed width for the div parent is 44px,
which is why it can't expand and render the text in one line. Is there
any way I can correct this without knowing in advance what the
required width for the div is?

thanks,
Johnny.

-- 
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] Sidebar Format Problem

2011-12-01 Thread IR HM
Hi, I really hope someone can help me a problem I have re. the above.

I'm using thispage
to allow the user to select and deselect map markers via category
check boxes.

The user can then click on the map marker or applicable listing in the left
hand sidebar, select a radius setting from the drop down box to the right
of the page, and then click 'Search Locations'. This then shows the POI's
around the marker adding them to the map and creating a sidebar on the
right of the page.

For example if you select the 'Test Location 2' in the left hand side bar,
then select '25' from the drop down menu, and click 'Search Locations',
you'll see that there are 6 POI's listed in the sidebar to the right of the
page.

What I'm trying to do, and have been for the last few weeks, is to change
the format of the left hand sidebar to match the one on the right, but
obviously still maintaining the check box selection functionality.

I have to admit it's really troubling me, and is causing sleepness nights,
literally, because I just seem to be going around in circles.

This  page
shows what I've done so far. I can get the markers to appear and clear from
the map following the check box selection, but I can't create the sidebar.

I really would be ever so grateful if someone could take a look at this and
let me know where I'm going wrong.

Many thanks and kind regards

-- 
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] Sidebar Format Problem

2011-12-01 Thread IR HM
Hi, I really hope someone can help me a problem I have re. the above.

I'm using thispage
to allow the user to select and deselect map markers via category
check boxes.

The user can then click on the map marker or applicable listing in the left
hand sidebar, select a radius setting from the drop down box to the right
of the page, and then click 'Search Locations'. This then shows the POI's
around the marker adding them to the map and creating a sidebar on the
right of the page.

For example if you select the 'Test Location 2' in the left hand side bar,
then select '25' from the drop down menu, and click 'Search Locations',
you'll see that there are 6 POI's listed in the sidebar to the right of the
page.

What I'm trying to do, and have been for the last few weeks, is to change
the format of the left hand sidebar to match the one on the right, but
obviously still maintaining the check box selection functionality.

I have to admit it's really troubling me, and is causing sleepness nights,
literally, because I just seem to be going around in circles.

This  page
shows what I've done so far. I can get the markers to appear and clear from
the map following the check box selection, but I can't create the sidebar.

I really would be ever so grateful if someone could take a look at this and
let me know where I'm going wrong.

Many thanks and kind regards

-- 
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] Sidebar Format Problem

2011-12-01 Thread IR HM
Hi, I really hope someone can help me a problem I have re. the above.

I'm using this
page
to allow the user to select and deselect map markers via category check
boxes.

The user can then click on the map marker or applicable listing in the left
hand sidebar, select a radius setting from the drop down box to the right
of the page, and then click 'Search Locations'. This then shows the POI's
around the marker adding them to the map and creating a sidebar on the
right of the page.

For example if you select the 'Test Location 2' in the left hand side bar,
then select '25' from the drop down menu, and click 'Search Locations',
you'll see that there are 6 POI's listed in the sidebar to the right of the
page.

What I'm trying to do, and have been for the last few weeks, is to change
the format of the left hand sidebar to match the one on the right, but
obviously still maintaining the check box selection functionality.

I have to admit it's really troubling me, and is causing sleepness nights,
literally, because I just seem to be going around in circles.

This  page
shows what I've done so far. I can get the markers to appear and clear from
the map following the check box selection, but I can't create the sidebar.

I really would be ever so grateful if someone could take a look at this and
let me know where I'm going wrong.

Many thanks and kind regards

-- 
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] Editable Poly events?

2011-12-01 Thread Garthan
When an Marker is draggable we can get the dragend event
When an editable Circle has the center_changed or radius_changed we have 
those events... 
When an editable Rectable has its bounds_changed we have those events.

But what about an editable Polyline or Polygon?

-- 
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/-/_R9HWKnmAjcJ.
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] chart.apis.google.com uses an invalid security certificate

2011-12-01 Thread Barry Hunter
You can use

https://encrypted.google.com/chart?chst=d_map_xpin_icon&chld=pin|bank-dollar|52B552

I dont think it offially scantioned, but works (and has worked for a
long time already).

On Thu, Dec 1, 2011 at 10:36 AM, John Lewis
 wrote:
> Loading the marker pins with numbers results in an error
>
> See this link:
>
> https://chart.apis.google.com/chart?chst=d_map_xpin_icon&chld=pin|bank-dollar|52B552
>
> It returns the error
>
> The certificate is only valid for the following names:
>  *.google.com , google.com , *.atggl.com , *.youtube.com ,
> youtube.com , *.youtube-nocookie.com , youtu.be , *.ytimg.com ,
> *.google.com.br , *.google.co.in , *.google.es , *.google.co.uk ,
> *.google.ca , *.google.fr , *.google.pt , *.google.it , *.google.de ,
> *.google.cl , *.google.pl , *.google.nl , *.google.com.au ,
> *.google.co.jp , *.google.hu , *.google.com.mx , *.google.com.ar ,
> *.google.com.co , *.google.com.vn , *.google.com.tr , *.android.com ,
> *.googlecommerce.com , *.url.google.com
>
> (Error code: ssl_error_bad_cert_domain)
>
> How do I load marker images over ssl? This is crippling my project.
>
> --
> 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: Detecting the Completion of Polygon drawing

2011-12-01 Thread Enoch Lau (Google Employee)
Oh I see. Short answer is: no there is no event for the completion of 
rendering of polygons. But how come you need a progress bar for the 
rendering of polygons? Are you drawing really, really complex polygons that 
take a really long time to render? Would you be able to share a demo 
please? 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/-/kASS_l1vHWcJ.
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: Using google earth plugin with google maps api 3

2011-12-01 Thread geocode...@gmail.com
On Dec 1, 5:09 am, Odoakr  wrote:
> Hi guys!
>
> I would like to create map using google maps api 3 with 3D view (via
> Google Earth Plugin). All examples I have found so far were using API
> v.2.
>
> It is possible to use it with API v.3? Where I can find examples?

Did you try searching the group:
http://groups.google.com/group/google-maps-js-api-v3/search?group=google-maps-js-api-v3&q=Google+Earth&qt_g=Search+this+group

I don't use it, but this looks promising:
http://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/6f64c8c861fbb6d1/dbd7b15313ed25ca?lnk=gst&q=Google+Earth#dbd7b15313ed25ca

  -- Larry

> Thanks for replys!

-- 
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: Latitude / Longitude values of a street

2011-12-01 Thread geocode...@gmail.com
On Nov 30, 11:55 pm, Công Ty Phần Mềm Hoàn Hảo http://www.perfect.com.vn
_  wrote:
> I want to get Latitude & Longitude of a street, or highlights a part of a
> street from point A to B
>
> EX: I want to get Latitude & Longitude of a street (like
>
> (10.540244,106.408301),
> (10.541668,106.406906),
> (10.546409,106.380669),
> (10.553982,106.368749),
>
> How can I do it?


You mean something like this (v2 example, I haven't ported this tool
to v3 yet)?
http://www.geocodezip.com/example_geo2.asp?addr1=(10.540244,106.408301)&addr2=(10.553982,106.368749)&geocode=1&geocode=2

If you click on the "get polyline xml" button, it will show the
coordinates of the resulting polyline.

It uses the directions service, so will be limited by the usual rate
limits and quotas (don't try to dynamically do this for more than a
few roads at a time), and the result _must_ be shown on a google map
per the terms of use.  Also consider Rossko's input (using walking
directions sometimes addresses issues with one way streets)

  -- 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] Using google earth plugin with google maps api 3

2011-12-01 Thread Odoakr
Hi guys!

I would like to create map using google maps api 3 with 3D view (via
Google Earth Plugin). All examples I have found so far were using API
v.2.

It is possible to use it with API v.3? Where I can find examples?
Thanks for replys!

-- 
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: Detecting the Completion of Polygon drawing

2011-12-01 Thread Booie
>From what I can tell the DrawingManager is used for allowing users to 
create their own polygons.  From the api it seems that to do this it 
provides special controls.  But I'm not interested in allowing users to 
define polygons, nor do I want these controls to display.  I am trying to 
programatically add polygons when the map is initialized, and then 
determine when they are all drawn (so that I can remove the progress bar).

-- 
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/-/Cnz8wH3ZVOMJ.
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] Different locations between maps.google.com and Google Maps API

2011-12-01 Thread Alexander
Hi all,

I will summarize what the problem is. I have to draw TWO different routes 
in the same map. This is afaik only possible by using the Google Maps API. 
But using that gives me less accurate positions. When I draw the route 
directly in maps.google.com by filling the querystring it will give me the 
exact positions.

For example:
http://maps.google.com/maps?saddr=51.979362,5.980457&daddr=51.979402,5.975447+to:51.976466,5.975393&via=1&t=m
http://www.stuurhut.nl/google/map.html?origin=51.979362,5.980457&destination=51.976466,5.975393&waypoints=51.979402,5.975447

The map and directions in the second url are made with help of the API.

Can somebody explain this? Or can somebody give a solution?

Thanks in advance!

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



Re: [Google Maps API v3] Re: Can't get markerClustererPlus to work with sprites

2011-12-01 Thread Daniel Halldin
I would if I could, but It's not deployed yet. I guess i'll have to stick to 
separate images for now.

On Dec 1, 2011, at 11:54 AM, Pil wrote:

> As Rossko pointed out: "Demo?"
> 
> If you provide a link to the patient and maybe an extra link to the
> sprite image the chance to get help is much higher.
> 
> 
> On Dec 1, 10:05 am, Daniel Halldin  wrote:
>> I've tried backgroundPosition: "-5px -184px" too, no luck there.
>> 
>> The documentation says:
>> "backgroundPosition string The position of the cluster icon image within the 
>> image defined by url. The format is "xpos ypos" (the same format as for the 
>> CSS background-position property). You must set this property appropriately 
>> when the image defined by url represents a sprite containing multiple 
>> images. The default value is "0 0"."
>> 
>> On Dec 1, 2011, at 9:58 AM, Pil wrote:
>> 
>> 
>> 
>>> On Nov 30, 12:04 pm, Daniel  wrote:
>> 
backgroundPosition: "-5 -184"
>> 
>>> BTW. This seems to be invalid css anyway.
>>> Try to start here
>> 
>>> http://www.w3schools.com/cssref/pr_background-position.asp
>> 
>>> --
>>> 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 
>>> athttp://groups.google.com/group/google-maps-js-api-v3?hl=en.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
> 

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



[Google Maps API v3] Re: Can't get markerClustererPlus to work with sprites

2011-12-01 Thread Pil
As Rossko pointed out: "Demo?"

If you provide a link to the patient and maybe an extra link to the
sprite image the chance to get help is much higher.


On Dec 1, 10:05 am, Daniel Halldin  wrote:
> I've tried backgroundPosition: "-5px -184px" too, no luck there.
>
> The documentation says:
> "backgroundPosition string The position of the cluster icon image within the 
> image defined by url. The format is "xpos ypos" (the same format as for the 
> CSS background-position property). You must set this property appropriately 
> when the image defined by url represents a sprite containing multiple images. 
> The default value is "0 0"."
>
> On Dec 1, 2011, at 9:58 AM, Pil wrote:
>
>
>
> > On Nov 30, 12:04 pm, Daniel  wrote:
>
> >>    backgroundPosition: "-5 -184"
>
> > BTW. This seems to be invalid css anyway.
> > Try to start here
>
> >http://www.w3schools.com/cssref/pr_background-position.asp
>
> > --
> > 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 
> > athttp://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] chart.apis.google.com uses an invalid security certificate

2011-12-01 Thread John Lewis
Loading the marker pins with numbers results in an error

See this link:

https://chart.apis.google.com/chart?chst=d_map_xpin_icon&chld=pin|bank-dollar|52B552

It returns the error

The certificate is only valid for the following names:
  *.google.com , google.com , *.atggl.com , *.youtube.com ,
youtube.com , *.youtube-nocookie.com , youtu.be , *.ytimg.com ,
*.google.com.br , *.google.co.in , *.google.es , *.google.co.uk ,
*.google.ca , *.google.fr , *.google.pt , *.google.it , *.google.de ,
*.google.cl , *.google.pl , *.google.nl , *.google.com.au ,
*.google.co.jp , *.google.hu , *.google.com.mx , *.google.com.ar ,
*.google.com.co , *.google.com.vn , *.google.com.tr , *.android.com ,
*.googlecommerce.com , *.url.google.com

(Error code: ssl_error_bad_cert_domain)

How do I load marker images over ssl? This is crippling my project.

-- 
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: Permalink to map genereted by Google Maps API

2011-12-01 Thread Bob Torzynski
Hi,
Another example of generating and using permalinks is here:
http://osm.zgroks.com/gosm.html
This map creates permalinks back to itself as well as permalinks to
OpenStreetMap at the main site and elsewhere.

If you want your map to USE permalinks as well as CREATE them, you
need some code to read the query string parameters included with the
calling URL. In this example the function qs() called at line 148
reads the Query String Parameters. The function permaLink() defined at
line 424 Creates the Permalinks.

Permalinks can be extremely useful and if you want to include other
parameters such as whether or not a supplemental layer is turned on or
off, it's relatively easy to extend the functionality with cut/paste/
replace.

Regards,

Bob

On Nov 30, 2:53 am, "geocode...@gmail.com" 
wrote:
> On Nov 29, 11:50 pm, Odoakr  wrote:
>
> > Hi!
> > Thanks for examples
> > I see function linkToThisPage(), but I do not konw where is the part
> > of code that is responsible for handling with that url when the page
> > is starting.
>
> function getParameters()
>
>
>
> > Thanks!
>
> > On 29 Lis, 16:23, "geocode...@gmail.com"  wrote:
>
> > > On Nov 29, 7:12 am, Odoakr  wrote:
>
> > > > Thanks for quick reply!
>
> > > > I see your updatelink() function
>
> > > > What about sending information about overlayers? I am thinking about
> > > > several kml or fusion tables layers.
>
> > > > I am thinking about something like 
> > > > that:www.domain.com?lat=&lon=999&zoom=8&layers=1,2,3,6,7,8
>
> > > You can make the parameters anything you like, you just need to handle
> > > those parameters and use them to recreate the state of the map.
>
> > > Another example (not using 
> > > layers):http://www.geocodezip.com/v2_earthquakeCSV_bounds.asp?lat=14.094&lon=...
>
> > > (although the input feed is dynamic, but it illustrated the point).
>
> > >  -- Larry
>
> > > > On 29 Lis, 15:41, Marcelo  wrote:
>
> > > > > On Nov 29, 7:34 am, Odoakr  wrote:
>
> > > > > > Is there any class that create this? The goal is to create something
> > > > > > simmilar to Permalink Control in OpenLayers
>
> > > > > You don't need a class for that. All you have to do is put together a
> > > > > string.
>
> > > > > See the function updateLink() inhttp://maps.forum.nu/gm_main.html
>
> > > > > That's V2, but it should be simple enough to adapt it to V3.
>
> > > > > --
> > > > > Marcelo -http://maps.forum.nu
> > > > > --

-- 
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: Latitude / Longitude values of a street

2011-12-01 Thread Rossko
> I want to get Latitude & Longitude of a street

There are an infinite number of lat-long pairs associated with any
street.

> EX: I want to get Latitude & Longitude of a street (like
>
> (10.540244,106.408301),
> (10.541668,106.406906),
> (10.546409,106.380669),
> (10.553982,106.368749),

Getting Directions from one end of then street to the other won't
always work, not all streets are two-way thoroughfares.  You'd still
have the difficulty of determining the end points as well.

I think you may be able to get the data from OpenStreetMap, then you
could just draw a polyline on the map.

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



[Google Maps API v3] google maps gives the wrong position

2011-12-01 Thread Iswara Gozali
Hi guys, I have just started working with google maps API for my website, 
basically I wanted to make a fare calculator using by google maps to 
measure the distance.

Everything is working fine or so I thought. Apparently it gives me the 
wrong places, and I have no idea why this is happening. For your 
information, I set it so that every address query ends with the string " 
Jakarta", since that's where the fare calculation is supposed to be done.

For example, I did a fare calculation from "menara mulia" to "plaza 
senayan". the origin is the right one on the map, but the destination is 
not. It's supposed to be a mall, but instead I got a road "Jalan Senayan" 
(jalan is indonesian of road).

This is the link to the website http://www.go-jek.com/cek_harga.html

I would really appreciate your help here, cheers.


Iswara Gozali

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



Re: [Google Maps API v3] Re: Can't get markerClustererPlus to work with sprites

2011-12-01 Thread Daniel Halldin
I've tried backgroundPosition: "-5px -184px" too, no luck there.

The documentation says:
"backgroundPosition string The position of the cluster icon image within the 
image defined by url. The format is "xpos ypos" (the same format as for the CSS 
background-position property). You must set this property appropriately when 
the image defined by url represents a sprite containing multiple images. The 
default value is "0 0"."

On Dec 1, 2011, at 9:58 AM, Pil wrote:

> 
> 
> On Nov 30, 12:04 pm, Daniel  wrote:
> 
>>backgroundPosition: "-5 -184"
> 
> 
> BTW. This seems to be invalid css anyway.
> Try to start here
> 
> http://www.w3schools.com/cssref/pr_background-position.asp
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
> 

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



[Google Maps API v3] Re: Can't get markerClustererPlus to work with sprites

2011-12-01 Thread Pil


On Nov 30, 12:04 pm, Daniel  wrote:

>    backgroundPosition: "-5 -184"


BTW. This seems to be invalid css anyway.
Try to start here

http://www.w3schools.com/cssref/pr_background-position.asp

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



[Google Maps API v3] Re: Can't get markerClustererPlus to work with sprites

2011-12-01 Thread Pil
You'd have to look *inside* the documentation (if they exist) closely
if markerClustererPlus supports sprites. I have no idea if that's the
case.

When it does support sprites you may follow the docs, when it doesn't
you may implement it yourself by changing the code.

FYI. There is an alternative to sprites - just as good as sprites.
It's called a Data URI

http://www.nczonline.net/blog/2010/07/06/data-uris-make-css-sprites-obsolete/

On Nov 30, 12:04 pm, Daniel  wrote:
> Hi!
>
> It seem like markerClustererPlus ignores the backgroundPosition-option and
> scales the whole sprite to 40x40.
>
> Example style:
> {
>    anchorIcon: [0,40],
>    url: '/template/ver2-0/images/dir/sprite.png',
>    height: 40,
>    width: 40,
>    backgroundPosition: "-5 -184"
>
> }
>
> Any idea?
>
> Regards

-- 
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 can i create a Marker and ...........

2011-12-01 Thread 孙雄伟 sunxiongwei
hello ,everybody,

  how can i create a custom google.maps.Marker?

  That maker user custom icon and I want gan the maker(image)'s
offset ,such as

400px,300px.

because I want show a custom tip over the Image。

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] Latitude / Longitude values of a street

2011-12-01 Thread Công Ty Phần Mềm Hoàn Hảo http : //www . perfect . com . vn _
I want to get Latitude & Longitude of a street, or highlights a part of a 
street from point A to B

EX: I want to get Latitude & Longitude of a street (like 

(10.540244,106.408301),
(10.541668,106.406906),
(10.546409,106.380669),
(10.553982,106.368749),

How can I do it? 

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



[Google Maps API v3] Google Maps API Premier. Restrictions and facilities

2011-12-01 Thread ya.ska...@yandex.ru
Hello. I'm interesting of restrictions and facilities of Google Maps
AVI V3 Premiers comparing with regular Google Maps v3 API
I was looking for this information but unfortunally couldn't find
anything usefull. As far as I understand the minimum price is $1
per year.
So how many and what kind of requests (such as geocoding, directions,
elevations etc) will I get for this price?
Thanks
Kulakov Dmitry. Russia.

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