[Google Maps API v3] Placing marker at a pixel coordinate

2011-05-27 Thread Jason Kaczmarsky
Hi I'm trying to implement a marker system to display certain areas on my map. The map is an image of a game I play and I have important places saved in an XML document with the coordinates. I'm able to extract that data and I want to place a marker at those coordinates. I've been trying all day

Re: [Google Maps API v3] change Marker Image

2011-05-27 Thread Pedro Arango
you may want to read at: http://code.google.com/apis/maps/documentation/javascript/overlays.html#Icons as well. On Thu, May 26, 2011 at 8:23 AM, Chris Broadfoot wrote: > Yup. Marker.setIcon > > http://code.google.com/apis/maps/documentation/javascript/reference.html#Marker > > > On Thu, May 26,

Re: [Google Maps API v3] Re: Map doesn't interact on Opera and Firefox

2011-05-27 Thread Deane Venske
Looking forward to having a look, I have the site bookmarked. Thanks, Deane On Sat, May 28, 2011 at 12:31 PM, Francesco Belli wrote: > Pil, Deane, > Thanks very much, I changed the z-index to 0 and now there aren't > problems of interactions! I think that there was some change in the > beaviour

[Google Maps API v3] Re: Add an image item to an XML file and show it on Google Maps

2011-05-27 Thread Rossko
> I'm trying to add a category "image" to an XML file with markers that > are rendered on a Google Map with a sidebar. This is a v2 API example but shows the technique you need http://econym.org.uk/gmap/example_map6b.htm -- You received this message because you are subscribed to the Google Group

[Google Maps API v3] Re: Map doesn't interact on Opera and Firefox

2011-05-27 Thread Francesco Belli
Pil, Deane, Thanks very much, I changed the z-index to 0 and now there aren't problems of interactions! I think that there was some change in the beaviour of Firefox and Opera, because the same code worked until March 2011... I'm going to put the interface on http://89.202.129.148/GENSO/ after June

[Google Maps API v3] Re: some guidance needed with clicking and counting..

2011-05-27 Thread Amit S
Sounds tricky. I don't think there's any way to get data from google that can be used to draw the spline path of a street (but maybe there is and I don't know about it). However, consider this workflow: 1. User clicks on map at, say, lat/lng 42,-75. 2. You issue a query to reverse geocode the la

[Google Maps API v3] on Zoom changed event, as per area, i want to display the marker or icon.

2011-05-27 Thread Mukesh
Hello Guys, I am working on Google Maps Integration. Actually concept is, I have Latitude and Longitude for particular point (400051, Mumbai - i.e zip code and city) and I am administrator and I just put the Location of the Point as reference like "Maharashtra, India" (State, Country). So that Us

[Google Maps API v3] some guidance needed with clicking and counting..

2011-05-27 Thread Joachim
Hi all I am new to this group and I haven't done any maps api programming, but I am not new to programming js. I would like so advice on how to go about building the following application : * I want to count the houses in a set of streets. I have this data in a file (and can put it on a sql serv

[Google Maps API v3] Re: what is the quota limit for directions services calls

2011-05-27 Thread Rossko
Did you read this part? > Note: the Directions API may only be used in conjunction with displaying > results on a Google map; using Directions data without displaying a map for > which directions data was requested is prohibited. -- You received this message because you are subscribed to the Goo

Re: [Google Maps API v3] Re: Map doesn't interact on Opera and Firefox

2011-05-27 Thread Deane Venske
I agree with Pil, I'm assuming the z-index: -1 places the map below any layer able to get interactivity. As far as IE working, well that's just cause they ignore web standards. Using firebug you're not even able to select the map with their element selector. Upon forcing z-index to 0 I was able to

[Google Maps API v3] Add titles to Placemark from KML feed

2011-05-27 Thread Israel Brewster
I have a number of placemarks that are displayed on a in google maps via a KML overlay. If I load the kml in google earth these placemarks show their titles next to them, but not in google maps. Is there any way to get the placemarks to display their titles in maps as well? I've seen some refe

[Google Maps API v3] Re: replacing default red-dot.png in maps API when markerclusterer after zooming into single marker!!??

2011-05-27 Thread Rossko
> I have assigned an icon of my choice, but the markerclusterer is probably > overwriting those icons. Only if you've made it do that. Here's an example that shows un-clustered markers with custom icons http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/examples/advance

[Google Maps API v3] Re: Only want ONE PLACEMARK to be able to be added!

2011-05-27 Thread Rossko
> var marker; Okay, 'marker' is null > function initialize() { ... >         while (marker.lng() == null)  //this should test if a marker 'marker' is still null. It doesn't have a .lng() method, so there is an error. I think you should check how javascript while-loops work. http://www.w3schools

[Google Maps API v3] Re: replacing default red-dot.png in maps API when markerclusterer after zooming into single marker!!??

2011-05-27 Thread en4ce
post a link or add me in skype enforce_aka_1up On 27 Mai, 15:27, sravan reddy wrote: > I have assigned an icon of my choice, but the markerclusterer is probably > overwriting those icons. If i display without makrer clustrer, the icons are > correctly displayed as set by me in the marker. > > Tha

[Google Maps API v3] Re: Only want ONE PLACEMARK to be able to be added!

2011-05-27 Thread en4ce
this wont work because simpley you call a method of a variable, and this method is not there... how about a simple solution like var i = 0; if (i==0){ add the marker i++; } and your are fine ? On 27 Mai, 18:23, kt wrote: > The error if I don't declare marker as a global variable is: > test4.ht

Re: Re : Re: [Google Maps API v3] Re: KML Layers - Stack Order Wierdness.

2011-05-27 Thread Cyril Sauvenay
Well, it seems not to work. This is what I wrote: var ctaLayer = new google.maps.KmlLayer('http://www.l2com.fr/ googlemap/testpictoslignes.kml'); ctaLayer.setMap(null); var leoLayer = new google.maps.KmlLayer('http://www.l2com.fr/ googlemap/testgroundoverlay.kml'); leoLayer.setMap(null);

[Google Maps API v3] Re: Only want ONE PLACEMARK to be able to be added!

2011-05-27 Thread kt
The error if I don't declare marker as a global variable is: test4.html:30 Uncaught ReferenceError: marker is not defined If I DO declare marker, then it's: Uncaught TypeError: Cannot call method 'lng' of undefined Here's the entire js code: //Defines global variables var map; var marker; //C

[Google Maps API v3] Re: what is the quota limit for directions services calls

2011-05-27 Thread Li Zhang
I found this which suggests that the limit is 2500, so that means my rate was too fast? is there a google recommendation for time outs so that we can process 2500 per day? Usage Limits Use of the Google Directions API is subject to a query limit of 2,500 directions requests per day. Indiv

[Google Maps API v3] what is the quota limit for directions services calls

2011-05-27 Thread Li Zhang
we have the need to load 12000 directions for users to match carpoolers to share rides to and from work. our code adds a time out ranging from 9 seconds to 20 seconds randomly and we seem to fail the quota limit between 200 to 250. we are using v3 and the calls are made from a java context (not

[Google Maps API v3] Re: geocoding encoded polyline query limit after 200

2011-05-27 Thread Li Zhang
thanks for the feedback Rossko. do you know the quota limit for directions calls are? it seems to be 250 from what i am seeing. we are wokring on a project that matches car poolers for their morning and evening commute. there fore we need to load about 12000 people that needs directions. --

Re: Re : Re: [Google Maps API v3] Re: KML Layers - Stack Order Wierdness.

2011-05-27 Thread Cyril Sauvenay
Thank you. That's an idea to try. Some people tell it does work, some other tell it does not. Let's try! -- 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

[Google Maps API v3] Re: Overlapping polygons click - KML layer google maps API v3

2011-05-27 Thread GAPINewbie
Yes I did see that in Google earth using Altitude we can make some differentiation. Am not sure I understand your suggestion about creating polygon's with holes. My understanding is that the geographic data(from the source census.gov) would take care of holes if any. But am guessing may be the dat

Re: [Google Maps API v3] Re: replacing default red-dot.png in maps API when markerclusterer after zooming into single marker!!??

2011-05-27 Thread sravan reddy
I have assigned an icon of my choice, but the markerclusterer is probably overwriting those icons. If i display without makrer clustrer, the icons are correctly displayed as set by me in the marker. Thanks for the reply. On Fri, May 27, 2011 at 6:42 PM, Rossko wrote: > > I am using MarkerClustre

[Google Maps API v3] Re: replacing default red-dot.png in maps API when markerclusterer after zooming into single marker!!??

2011-05-27 Thread Rossko
> I am using MarkerClustrer. After sufficiently zooming in on markers, they > are separating out, but the image is default red-dot.png that google > provides. What icon do you assign to the markers that you create, before you hand them to the clusterer to manage for you? -- You received this mes

[Google Maps API v3] Re: Map doesn't interact on Opera and Firefox

2011-05-27 Thread Pil
Your CSS is unclean #map { float: right; border: none; width: 65%; height: 100%; position: relative; z-index: -1; } I'd say position and float declarations aren't possible together. float already defines the position. The Maps API doesn't seem to like

[Google Maps API v3] replacing default red-dot.png in maps API when markerclusterer after zooming into single marker!!??

2011-05-27 Thread sravan reddy
I have been browsing since 4 hrs continuosly tried few of solutions, none of which was a success. Please help me. I am using MarkerClustrer. After sufficiently zooming in on markers, they are separating out, but the image is default red-dot.png that google provides. Is there way I can change th

[Google Maps API v3] Re: Map doesn't interact on Opera and Firefox

2011-05-27 Thread en4ce
it would help if we could see some markers and may not that many sql errors all over the place :S On 27 Mai, 11:25, Francesco Belli wrote: > I fixed the javascript errors that were related to the markers. There > is no connection to the database, so no markers positions :) > > Francesco > > On 26

[Google Maps API v3] Re: Map doesn't interact on Opera and Firefox

2011-05-27 Thread Francesco Belli
I fixed the javascript errors that were related to the markers. There is no connection to the database, so no markers positions :) Francesco On 26 Mag, 20:37, Chris Broadfoot wrote: > You've also got JS errors on the page. Could you fix those, too? Nothing > else in your code strikes me as odd.

[Google Maps API v3] Re: Only want ONE PLACEMARK to be able to be added!

2011-05-27 Thread Rossko
> I'm trying to use the code on this Samples page, but I only want to allow > ONE MARKER to be created, NOT multiple Perhaps if you change your code so it didn't create a new marker at each click ? > ... I even tried declaring > variable outside of function initialize(), and that changes the erro