[Google Maps API v3] Concentric Circles with inner circle transparent

2010-09-28 Thread Barada Sahu
Hi, How do we create 2 circles so only the area between the circles is highlighted (in defined colour)? whenever we create a circle and apply a fill then the area from the center to the circumference is filled with a certain colour? Is it possible to override the fill effects from a previous circle

[Google Maps API v3] Re: Problem with a new Google Maps API Key

2010-09-28 Thread shotemba
Hi Chad, Yeap, I discarded the unwanted bits from the URL and it's working now. Thks. Cheers, shotemba On Sep 29, 11:29 am, Chad Killingsworth wrote: > You appear to be using a premier account. A couple of things to keep > in mind: > > 1) V3 doesn't use API keys. > 2) The 2 Urls you provided ar

[Google Maps API v3] Re: Problem with a new Google Maps API Key

2010-09-28 Thread Chad Killingsworth
You appear to be using a premier account. A couple of things to keep in mind: 1) V3 doesn't use API keys. 2) The 2 Urls you provided are different by more than just the key. The correct url (for a premier account) is: "http://maps.google.com/ maps/api/js?v=3&client=gme-companionit&sensor=false".

[Google Maps API v3] Problem with a new Google Maps API Key

2010-09-28 Thread shotemba
Hi there, V2 of the API was working fine, we were able to play around with GoogleMap with our domain (test site) at http://eclipse3testconstruct.companionit.net/ but once we plugged into the V3 of the API, we're getting this error all the time: Microsoft JScript runtime error: Object expected geo

[Google Maps API v3] Re: marker flicker bug

2010-09-28 Thread Farooq Mahmood
Rossko's guess was right It was anchor property problem. Here is the code I am using to get the anchor. function getImgAnchor(imgSrc){ var newImg = new Image(); newImg.src = imgSrc; var x = newImg.width var y = newImg.height; var point = new google.maps.Poin

Re: [Google Maps API v3] Extract lat and lng string with geocoder

2010-09-28 Thread Ben Appleton
Yes: you can call latLng.toString() to convert it to a string like "(-33.867, 151.207)" - Ben On Wed, Sep 29, 2010 at 11:17 AM, Kenny wrote: > I'm upgrading my site from v2 to v3 and have run into a problem with > the geocoder. It seems to return an object for lat/lng, rather than a > string. I

[Google Maps API v3] Extract lat and lng string with geocoder

2010-09-28 Thread Kenny
I'm upgrading my site from v2 to v3 and have run into a problem with the geocoder. It seems to return an object for lat/lng, rather than a string. I need the string, does anyone know how to get it from the geocoder or the extract it from the object? -- You received this message because you are su

[Google Maps API v3] Re: World city outlines as Lat / Lng

2010-09-28 Thread Balotz
Thanks for the list, but this isn't exactly what I was looking for. I would like, for each city, a list of co-ordinates which define that city's boundary - like the border of a country. I managed to find such data for every world country, but for cities I've had no luck. I suppose it's more diffi

Re: [Google Maps API v3] Re: A lot of circles and it's slow.

2010-09-28 Thread Ben Appleton
We'll clarify the docs. Thanks - Ben On Wed, Sep 29, 2010 at 5:47 AM, geocode...@gmail.com wrote: > On Sep 28, 11:55 am, Chad Killingsworth > wrote: > > That description is somewhat misleading. > > Yes it is. Do you think someone can fix it to more accurately reflect > the reality? > > -- La

[Google Maps API v3] Re: Trouble with Geocode API version 3

2010-09-28 Thread Esa
Yes, it seems to be http://74.125.19.147/ -- 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...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js

[Google Maps API v3] Re: Custom Map Type with Tile overlay

2010-09-28 Thread Chad Killingsworth
Just realized that I was looking at an old source. ImageMapTypes don't have a setMap method, so you'll need to use something more along the lines of: var TileOverlay = new google.maps.ImageMapType({...}); var TileOverlayIndex = map.overlayMapTypes.push(BuildingsLayer) - 1; google.maps.event.addLis

[Google Maps API v3] Re: How to use tiles loaded

2010-09-28 Thread Martin
Ooops i stand corrected - v3 it is. In fact if you don't want the callback to execute more than once you might try: google.maps.event.addListenerOnce(map, 'tilesloaded', function(){ alert('hi'); customiseLargeMapControl(); }); http://code.google.com/apis/maps/documentation/javascri

[Google Maps API v3] Re: Custom Map Type with Tile overlay

2010-09-28 Thread Chad Killingsworth
Here's a basic example of what you want to do: http://search.missouristate.edu/map/mobile/examples/tileoverlay.htm Now to remove the overlay on certain map types, use something like: google.maps.event.addListener(map, 'maptypeid_changed', function () { if (this.getMapTypeId() != google.ma

Re: [Google Maps API v3] Re: deleting multiple polylines using mvcArray

2010-09-28 Thread Nathan Raley
Yea, I was going to recommend what Larry recommended. Your best off just removing the polylines from the map itself. On Tue, Sep 28, 2010 at 4:00 PM, geocode...@gmail.com wrote: > On Sep 28, 7:24 am, Marcvp wrote: > > Hi, > > > > I need help with the mvcArray.I'm making for practise a map where

Re: [Google Maps API v3] Re: How to use tiles loaded

2010-09-28 Thread Luke Mahé
GEvent.addListener(map, 'tilesloaded', function(){ alert('hi'); customiseLargeMapControl(); }); should be google.maps.event.addListener(map, 'tilesloaded', function(){ alert('hi'); customiseLargeMapControl(); }); -- Luke On Wed, Sep 29, 2010 at 2:29 AM, Martin wrote

[Google Maps API v3] Re: deleting multiple polylines using mvcArray

2010-09-28 Thread geocode...@gmail.com
On Sep 28, 7:24 am, Marcvp wrote: > Hi, > > I need help with the mvcArray.I'm making for practise a map where > flights available between cities are shown when you put the mouse over > one city marker. So I'm creating some polylines at the "same time" on > my map triggered by an mouseover event. I

[Google Maps API v3] API 3 events help

2010-09-28 Thread Hatzi
Hi, I currently have a web site with a map at the top and a list of places (with extra details) below the map. The list of places is provided by my database as XML with each place having a unique id (see example XML below) I have successfully added icons to the map along with an info window u

[Google Maps API v3] Trouble with Geocode API version 3

2010-09-28 Thread hobart
I'm trying to geocode an address using an http call and I'm getting back "No connection could be made because the target machine actively refused it 74.125.19.147:80". This IP is a Google IP. Any ideas? -- You received this message because you are subscribed to the Google Groups "Google Maps J

[Google Maps API v3] Re: API 3 events help

2010-09-28 Thread geocode...@gmail.com
On Sep 28, 9:37 am, Hatzi wrote: > Hi, I currently have a web site with a map at the top and a list of > places (with extra details) below the map. > > The list of places is provided by my database as XML with each place > having a unique id (see example XML below) > > > > given_name="Knightsbr

[Google Maps API v3] deleting multiple polylines using mvcArray

2010-09-28 Thread Marcvp
Hi, I need help with the mvcArray.I'm making for practise a map where flights available between cities are shown when you put the mouse over one city marker. So I'm creating some polylines at the "same time" on my map triggered by an mouseover event. I'm creating the polylines with this function b

[Google Maps API v3] Good Google Maps Book

2010-09-28 Thread fungus1...@googlemail.com
Hi, I'm not a novice with Google Maps JS API but in taking on some larger projects in the near future feel that a bit of professional guidance would be helpful. I am looking for a book to work through techniques such as overlays, custom info windows/elements and some of the common developer probl

Re: [Google Maps API v3] Street View pegman not visible on custom basemap

2010-09-28 Thread Nathan Raley
That functionality appears to be working for me. If there is a valid Street View for that location, and I click on the peg man in the results after it being populated by me clicking on a zone in your map after zooming in, it displays the street view panorama and the location. However, the Search

[Google Maps API v3] Custom Map Type with Tile overlay

2010-09-28 Thread PhilR8
Here's my map: http://pages.towson.edu/preese/campusmapv3/test/overlay2.html So we have the standard RoadMap and a Towson Maptype. The "Towson" maptype is right now constructed as a basemap type. What I would like to do is overlay the towson tiles on top of the RoadMap and having them combined

Re: [Google Maps API v3] Street View pegman not visible on custom basemap

2010-09-28 Thread Jason Sanford
Actually I meant to set the streetViewControl on the map to false before I sent this out. The Pegman shouldn't be visible on the map anymore. What I really needed help with was clicking the pegman in the results view (left side) of the page when you search for a parcel with a valid street view. Tr

[Google Maps API v3] Re: A lot of circles and it's slow.

2010-09-28 Thread geocode...@gmail.com
On Sep 28, 11:55 am, Chad Killingsworth wrote: > That description is somewhat misleading. Yes it is. Do you think someone can fix it to more accurately reflect the reality? -- Larry > Technically the image tiles > are a V3 overlay. The big concept that gets left out though is that > the ove

Re: [Google Maps API v3] Street View pegman not visible on custom basemap

2010-09-28 Thread Nathan Raley
Let me also add that once you have a street view panorama open, even though the pegman is grayed out you can still drag and display the street view locations. On Tue, Sep 28, 2010 at 2:31 PM, Nathan Raley wrote: > Correction, if I zoom in I can get the street view to appear. Your pegman > icon

Re: [Google Maps API v3] Street View pegman not visible on custom basemap

2010-09-28 Thread Nathan Raley
Correction, if I zoom in I can get the street view to appear. Your pegman icon is greyed out but you can drag him and bring up the street view locations. However, upon stopping the drag it doesn't pop up the street view unless you have previously enabled it by clicking on a location and then clic

Re: [Google Maps API v3] Street View pegman not visible on custom basemap

2010-09-28 Thread Nathan Raley
Hmm, I can't seem to get the street view to work in any of the map modes. Also I see the pegman in the default view loaded by the map, although the pegman is greyed out. You can still click and drag him and it shows the available street view locations, but it never opens up the street view when y

[Google Maps API v3] Re: A lot of circles and it's slow.

2010-09-28 Thread Chad Killingsworth
That description is somewhat misleading. Technically the image tiles are a V3 overlay. The big concept that gets left out though is that the overhead to the client is pretty much constant - even given widely different amounts of geo data. Chad Killingsworth On Sep 28, 12:15 pm, "geocode...@gmail.

[Google Maps API v3] Street View pegman not visible on custom basemap

2010-09-28 Thread Jason Sanford
I've got a mapping application that defaults to a custom basemap. It seems the the Street View pegman is not visible when using this basemap but is visible when using one of the other 3 Google basemaps I have available to use on the page. Is this a bug? maybe a restriction? To reproduce the issue:

[Google Maps API v3] Re: Storelocatator - more info in left menu from a new table field

2010-09-28 Thread Rossko
> I have been linking to the file several > timeshttp://www.tinemuller.dk/new_new_test_drupal/node/1394 Yes, but I don't know where to search to get markers. Eventually I guessed "New York" and got some, I can see you have fixed your original problem now. > When you look at thishttp://www.tinem

[Google Maps API v3] Re: A lot of circles and it's slow.

2010-09-28 Thread geocode...@gmail.com
On Sep 28, 9:08 am, Chad Killingsworth wrote: > KmlLayers drastically speed up maps with lots of data because they are > rendered on Google servers and sent to the client as image tiles. That isn't what the documentation says: http://code.google.com/apis/maps/documentation/javascript/overlays.htm

[Google Maps API v3] Re: How to use tiles loaded

2010-09-28 Thread Martin
Try this: var latlng = new google.maps.LatLng(32.505338, -98.349152); var myOptions = { zoom: 4, center: latlng, mapTypeId: google.maps.MapTypeId.SATELLITE, navigationControl: true, scrollwheel: false, navigationControlOptions: { style: google.maps.NavigationControlStyle.DEFAULT, position: google.

[Google Maps API v3] Re: A lot of circles and it's slow.

2010-09-28 Thread Chad Killingsworth
KmlLayers drastically speed up maps with lots of data because they are rendered on Google servers and sent to the client as image tiles. If you link your map (preferably in a separate thread), then you might get some suggestions on your speed problem. Chad Killingsworth On Sep 27, 11:54 pm, Jan

[Google Maps API v3] KML schema location changed?

2010-09-28 Thread ANCofE
Is it just me, or has the KML scheme location changed such that http://www.opengis.net/kml/2.2/";> should now be http://schemas.opengis.net/kml/2.2.0/";> I certainly can't find the existence of the former. Stuart -- You received this message because you are subscribed to the Google Group

[Google Maps API v3] Re: Many polygons drawing slow in IE

2010-09-28 Thread Enrico
Hi all, ok, now work. I create a kml file with all the road and i paint only the polygon that i need over it with totally opaque color. It work find, but I have another problem: I try to do the .setMap of kmlLayer before the setMap of polygons layer because i think that the polygons layer will be

[Google Maps API v3] Re: How to use tiles loaded

2010-09-28 Thread geocode...@gmail.com
On Sep 28, 7:41 am, jimmyt1988 wrote: > Ok a better question may have been: Is there a callback after the map > has completely loaded. For example I might want to say "google maps > has completely loaded". No (at least not now). This thread has a discussion of that: http://groups.google.com/grou

[Google Maps API v3] Re: How to use tiles loaded

2010-09-28 Thread jimmyt1988
Ok a better question may have been: Is there a callback after the map has completely loaded. For example I might want to say "google maps has completely loaded". On Sep 28, 2:06 pm, jimmyt1988 wrote: > Hi all, > > I need to do a function after the google maps controls have loaded... > I found til

Re: [Google Maps API v3] one map, multiple array markers

2010-09-28 Thread Nathan Raley
No you can have multiple arrays for markers. It sounds like a scope issue or that you didn't pass the marker to the array properly, but can't tell you for sure since you haven't provided a link yet. Check your code and make sure that your markers2 array is accessible in the scope for which you ar

[Google Maps API v3] one map, multiple array markers

2010-09-28 Thread Mr BoDangles
Hi there, I have three arrays which store my markers... I setMap(map) for all the markers then push into the corresponding array. Now. only the first array the marker[i].setMap(null); actually takes the marker away from the map when i try marker2[i].setMap(null) i get this... Uncaught TypeErro

[Google Maps API v3] Centering a marker on streetview panorama

2010-09-28 Thread Gigi
Hi, I'm trying to place one marker in the panorama streetview mode. I would like to place the marker always at the center of the panorama but there doesn't appear to be a method to retrieve the current center coordinates of the panorama (also if you change the pov). Can anyone help me? Regards Gig

[Google Maps API v3] Re: Storelocatator - more info in left menu from a new table field

2010-09-28 Thread tinem
I have been linking to the file several times http://www.tinemuller.dk/new_new_test_drupal/node/1394 When you look at this http://www.tinemuller.dk/new_new_test_drupal/node/1180 made with v2 you get a message: No results found so v3 should also show this, right? All people following this tutorial

[Google Maps API v3] How to use tiles loaded

2010-09-28 Thread jimmyt1988
Hi all, I need to do a function after the google maps controls have loaded... I found tilesloaded but am unsure of how to implement it. Basically looking for a callback of when google maps scripts have finished doing their jazz. var latlng = new google.maps.LatLng(32.505338, -98.349152); var

[Google Maps API v3] Re: Zooimg

2010-09-28 Thread SmirkingMan
What exactly are you trying to achieve? Can you post an example of where you're stuck? On Sep 28, 1:24 pm, Wpf Help wrote: > what about pandirection? > > On Sep 28, 4:18 pm, SmirkingMan wrote: > > > > > setZoom(zoom:number)http://code.google.com/apis/maps/documentation/javascript/reference.h...

[Google Maps API v3] Re: Zooimg

2010-09-28 Thread Wpf Help
what about pandirection? On Sep 28, 4:18 pm, SmirkingMan wrote: > setZoom(zoom:number)http://code.google.com/apis/maps/documentation/javascript/reference.h... > > On Sep 28, 1:04 pm, Wpf Help wrote: > > > Hi, > > > Is it zoomIn() and zoomOut() funtions are available in Google map API > > V3 > >

[Google Maps API v3] Re: Zooimg

2010-09-28 Thread SmirkingMan
setZoom(zoom:number) http://code.google.com/apis/maps/documentation/javascript/reference.html#Map On Sep 28, 1:04 pm, Wpf Help wrote: > Hi, > > Is it zoomIn() and zoomOut() funtions are available in Google map API > V3 > > Thanks -- You received this message because you are subscribed to the Go

[Google Maps API v3] Zooimg

2010-09-28 Thread Wpf Help
Hi, Is it zoomIn() and zoomOut() funtions are available in Google map API V3 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...@googlegroups.com. To unsubscribe fr

[Google Maps API v3] Re: Bug: HitTest region doesn't size with scaled marker icon

2010-09-28 Thread SmirkingMan
Thank you kindly for pointing that out, my mistake. I've fixed the code at http://www.calvert.ch/geodesix/offices.htm as per your suggestion and it works perfectly. I made the erroneous (but presumably forgivable) assumption that as CreateMarker implicitly creates a MarkerShape based on the icon,

[Google Maps API v3] Re: Polyline form XML data problem

2010-09-28 Thread webbirder
If you need to parse elements, take a look at the code for this http://www.birdtheme.org/useful/sub/highlig1.html The reading of XML/KML is in function addOverlayFromKML. I am not an expert, but you may get an idea of what to look for. On 28 Sep, 04:38, cfmarr wrote: > Thanks for all the help Lar

[Google Maps API v3] Re: Working with Regions - "Smart" Loading of Region-Based Network Links

2010-09-28 Thread Rossko
> Does this example actually work? What KML features actually work, and how they are implemented, depends on what you use to view the KML. Can we can guess you are using KmlLayer with the V3 API? This outlines KML support in maps.google.com http://code.google.com/apis/kml/documentation/mapsSup

[Google Maps API v3] Re: marker flicker bug

2010-09-28 Thread Pil
What browser are you using? Do you use a sprite image as marker icon? A link to the problematic map would be a good idea. I'm asking because there is a reproducable flicker bug with the icons - but only in IE 6 and when using a sprite image for the marker icons. http://www.wolfpil.de/v3/toggle-c

[Google Maps API v3] Re: Problem (or bug?) when using mousedown, mousemove, mouseup event to "Drag" the polygon

2010-09-28 Thread Bossa
The program works well after I added an mouseup event for map using addDomListener(), thank you very much! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.c

[Google Maps API v3] Working with Regions - "Smart" Loading of Region-Based Network Links

2010-09-28 Thread NevadaKML
I've attempted to follow the example in "Working with Regions - "Smart" Loading of Region-Based Network Links" where you save a parent kml document that has a link to romaniaregion.kml document. It appears that it ALWAYS shows both regions the larger parent rectangle with coordinates:

[Google Maps API v3] Re: World city outlines as Lat / Lng

2010-09-28 Thread SmirkingMan
Well, as a starting point, here's the world capitals and their lat/ long: Country;City;Lat;long Abkhazia;Sukhumi;43.00732;40.989151 Afghanistan;Kabul;34.5012;69.3315 Albania;Tirana;41.3325788;19.8171362 Algeria;Algiers;36.7246207;3.127856 American Samoa;Pago Pago;-14.2741568;-170.6985961 Andorra;A

Re: [Google Maps API v3] Re: marker flicker bug

2010-09-28 Thread Luke Mahé
Hey Farooq, As Rossko said, it would really help if you could supply a link that demonstrates the problem you are having. It saves everyone having to do the work that you have already done and will most probably mean a quicker and more accurate response :) Thanks! -- Luke On Tue, Sep 28, 2010

[Google Maps API v3] Re: marker flicker bug

2010-09-28 Thread Farooq Mahmood
Thanks for the reply and sorry if you get offended, I think I have mentioned everything thing quite clear in my post regarding the word 'bug'. Regards, Farooq On Sep 24, 6:36 pm, Rossko wrote: > > I am getting a very strange behavior while changing the marker's icon > > on mouse hover. Marker is

[Google Maps API v3] Re: Problem (or bug?) when using mousedown, mousemove, mouseup event to "Drag" the polygon

2010-09-28 Thread Esa
You would need also a more reliable 'mouseup'. Unfortunately there is no 'mouseup' on Map. You could use addDomListener() to map.getDiv() or even to document.body. Another trick might be to use 'mouseout' of Polygon in parallel with 'mouseup'. -- You received this message because you are subscri