Re: [Google Maps API v3] Google Earth key

2011-09-17 Thread Chris Broadfoot
Hi Barry, Please refer to the Earth API group: http://groups.google.com/group/google-earth-browser-plugin/topics As far as I'm aware, a key is necessary for the Earth API. The Maps V3 API does not require a key. Cheers Chris -- http://twitter.com/broady On Sat, Sep 17, 2011 at 9:57 AM, barry

Re: [Google Maps API v3] Autocomplete results returns with no Lat/Lng

2011-09-17 Thread Chris Broadfoot
Hi Jim, Can you provide a link that reproduces this issue? Chris -- http://twitter.com/broady On Sat, Sep 17, 2011 at 1:27 AM, arclyte wrote: > Hello, > > Sorry I don't have any test code up at the moment, but this seems to be > something inherent to the Places Autocomplete code and not my

Re: [Google Maps API v3] "REQUEST DENIED" on brand new API key...

2011-09-17 Thread Chris Broadfoot
Hi Paul, The Directions service does not require a key. The following URL works fine: http://maps.google.com/maps/api/directions/xml?sensor=false&origin=53.3644,-2.27519&destination=53.,-2.85 Chris -- http://twitter.com/broady On Fri, Sep 16, 2011 at 4:32 PM, Paul Robinson wrote: > Hi,

Re: [Google Maps API v3] What algorithm is used to find the shortest path between two points in the service Direction?

2011-09-10 Thread Chris Broadfoot
Hi Quy, There's not really a name for it, but in essence it's a path finding algorithm based on a heuristic that accounts for factors such as time travelled, distance travelled, number of turns, etc. Chris -- http://twitter.com/broady On Sat, Sep 10, 2011 at 10:16 PM, Quy Le wrote: > There

Re: [Google Maps API v3] Re: Problem with polygons interior rings clockwise

2011-09-08 Thread Chris Broadfoot
Indeed. This would have been in 3.4, which is now the lowest version you can request (now stable release). Note that you wouldn't have had a hole on Android, even using 3.3 or below. Chris -- http://twitter.com/broady On Fri, Sep 9, 2011 at 2:25 AM, Andrew Leach wrote: > On 8 September 2011

Re: [Google Maps API v3] Search for city + country now (since recently) returns multiple answers, for instance "London, United Kingdom"

2011-09-07 Thread Chris Broadfoot
Hi, I can't reproduce that. BTW - that is the old geocoder. Try the new one: http://maps.googleapis.com/maps/api/geocode/xml?sensor=false&address=London%2C%20United%20Kingdom Sounds like a transient failure, though. Cheers Chris -- http://twitter.com/broady On Wed, Sep 7, 2011 at 7:21 PM, hs

Re: [Google Maps API v3] Aw: setMapTypeId not working with custom map

2011-09-07 Thread Chris Broadfoot
Hi, You shouldn't need to trigger the 'resize' event. Otherwise, that code looks fine (though I don't know PHP very well). In future, could you post a link instead of PHP code? It makes it much easier for us to debug. Chris -- http://twitter.com/broady On Thu, Sep 8, 2011 at 3:14 AM, 24/7 <2

Re: [Google Maps API v3] Marker tooltip not being displayed

2011-09-07 Thread Chris Broadfoot
I get a tooltip in Mac/Chrome 14. What is the exact browser you're using? You can get it via navigator.userAgent: javascript:alert(navigator.userAgent) -- http://twitter.com/broady On Thu, Sep 8, 2011 at 1:05 AM, Carlos wrote: > Hello! > > I'm setting the title property of every marker being

Re: [Google Maps API v3] How do I prevent Places bubble on click?

2011-09-05 Thread Chris Broadfoot
Unfortunately this is not possible - you'll have to hide all POI labels in order to prevent these info windows being shown. See here for details: http://groups.google.com/group/google-maps-js-api-v3/msg/e0f5c3fdd82264ca -- http://twitter.com/broady On Tue, Sep 6, 2011 at 10:10 AM, Null Pointer

Re: [Google Maps API v3] google maps v3 visual distortion in chrome on mac

2011-09-04 Thread Chris Broadfoot
I can't reproduce this. What is the exact version of Chrome and OS X? -- http://twitter.com/broady On Thu, Sep 1, 2011 at 7:46 AM, Bill Williams wrote: > using Google maps v3 with custom icons > > in chrome browser on mac laptop > > a blue color is washing out all visual div elements prior to

Re: [Google Maps API v3] Display InfoWindow (really, 'InfoBubble' subclass) beyond map container div

2011-09-04 Thread Chris Broadfoot
Hi Lloyd, This can be achieved using the MapCanvasProjection, which is available through the OverlayView class: http://code.google.com/apis/maps/documentation/javascript/reference.html#OverlayView It is a little cumbersome to work with, though - you won't be adding your overlay to any of the MapP

Re: [Google Maps API v3] Animating a marker on a section of a polyline

2011-09-04 Thread Chris Broadfoot
Here's some code I hacked up a while ago: http://broady.github.com/maps-examples/points-along-line/along-directions.html Chris -- http://twitter.com/broady On Mon, Sep 5, 2011 at 7:54 AM, Rob wrote: > I have a polyline from A to B and I'm trying to animate a marker > moving along a section o

Re: [Google Maps API v3] Repositioning map controlers

2011-08-29 Thread Chris Broadfoot
Hi Jeremy, Have a look here: http://code.google.com/apis/maps/documentation/javascript/controls.html#CustomControls A "control" is really just a DOM element, like an image. -- http://twitter.com/broady On Tue, Aug 30, 2011 at 1:27 PM, Jeremy wrote: > Thank you, that sounds exactly like what

Re: [Google Maps API v3] Repositioning map controlers

2011-08-29 Thread Chris Broadfoot
Hi Jeremy, The recommended way to place your image in these positions is to have them as Custom Controls. This should give you the freedom to place your image in the top right hand corner. For example, put the image in TOP_RIGHT, and the zoom control in RIGHT_TOP. Chris -- http://twitter.com/br

Re: [Google Maps API v3] Re: Grey map when adding marker in Chrome beta

2011-08-29 Thread Chris Broadfoot
I can't reproduce this. Can you create a minimal example that demonstrates the problem without user input? I tried to reproduce this using Windows 7 using the exact same version of Chrome. -- http://twitter.com/broady On Tue, Aug 30, 2011 at 12:38 AM, Adrian CDL wrote: > Version 14.0.835.109

Re: [Google Maps API v3] language error

2011-08-29 Thread Chris Broadfoot
That should work fine. Could you post a link to your page? Chris On Monday, August 29, 2011, Kasper Christensen wrote: > Hi Chris > i had this allready, should be sufficient? > > > > -- > You received this message because you are subscribed to the Google Groups "Google Maps JavaScript

Re: [Google Maps API v3] language error

2011-08-29 Thread Chris Broadfoot
Hi Kasper, It's likely the browser is interpreting your page as ASCII. You need to point the browser to UTF-8: Chris -- http://twitter.com/broady On Mon, Aug 29, 2011 at 7:06 PM, Kasper wrote: > Hi there > > Im a dude, new to php/java scripting. > > after a lot trial and error ive fai

Re: [Google Maps API v3] what is the spatial reference system Google map's

2011-08-29 Thread Chris Broadfoot
Hi Leonardo, We use EPSG:4326 (WGS 84) for coordinates (Lat/Long). The projection we use is Mercator (EPSG:3857). -- http://twitter.com/broady On Mon, Aug 29, 2011 at 6:14 AM, Leonardo Cardona < leocardonapiedrah...@gmail.com> wrote: > hello all, > i am new user of Google maps and i have 2 qu

Re: [Google Maps API v3] Re: Regarding google map version3.3

2011-08-29 Thread Chris Broadfoot
Hi all, could you please star this issue: http://code.google.com/p/gmaps-api-issues/issues/detail?id=3413 -- http://twitter.com/broady On Thu, Aug 25, 2011 at 9:03 AM, Rossko wrote: > > we need a map of Korea road map version... > > This old post is relevant > > http://groups.google.com/group

Re: [Google Maps API v3] Re: Problem with South Korean Maps on iPhone 4 (Retina display)

2011-08-29 Thread Chris Broadfoot
Hi all - could you please star this bug: http://code.google.com/p/gmaps-api-issues/issues/detail?id=3413 -- http://twitter.com/broady On Mon, Aug 29, 2011 at 5:06 PM, Chris C <1952m...@gmail.com> wrote: > Its the same in all geographies, not just S Korea. > > On Aug 20, 6:22 pm, Andrei Tchijov

Re: [Google Maps API v3] Custom background maps

2011-08-29 Thread Chris Broadfoot
Hi Vincent, there are many examples, here are a few off the top of my head: http://levisroadwear.com/my/ http://www.google.com/intl/en/+/demo/ http://www.gta4.net/map/ https://github.com/brownan/Minecraft-Overviewer/wiki/Map-examples Hope these help, Chris -- http://twitter.com/broady On Mon,

Re: [Google Maps API v3] Re: The map font obviously shrinking

2011-08-29 Thread Chris Broadfoot
Hi all, This should be fixed in the next release (very soon). As Chris says, please use 3.5 for now. Chris -- http://twitter.com/broady On Mon, Aug 29, 2011 at 5:00 PM, Chris C <1952m...@gmail.com> wrote: > They are aware of it. You can set your version to 3.5 until its > fixed. > > On Aug

Re: [Google Maps API v3] Marker rotation

2011-08-29 Thread Chris Broadfoot
Hi Michel, This is more of an issue with the image library you're using. You may also want to experiment with using Canvas, SVG or VML to rotate images in the browser. You could implement this as an [OverlayView] to create a class like google.maps.Marker that also adds rotate capability. http://

Re: [Google Maps API v3] Overlays in street view

2011-08-29 Thread Chris Broadfoot
Hi Robert - this is a difficult problem to solve. In the V3 API there are several projections used depending on browser capability. You may want to experiment with the (undocumented) property "mode" on StreetViewPanoramaOptions. Try setting it to "html4", "html5", and if your browser supports WebG

Re: [Google Maps API v3] Re: Trigger click event on a Fusion table layer

2011-08-29 Thread Chris Broadfoot
Hi Randy, The JSONP interface you referenced is not documented, therefore not supported, so I would heavily discourage you from using it. Chris -- http://twitter.com/broady On Fri, Aug 26, 2011 at 9:37 PM, Randy Majors wrote: > Hi Chris, > Thanks for the reply. > > However, I think this IS

Re: [Google Maps API v3] Re: Trigger click event on a Fusion table layer

2011-08-25 Thread Chris Broadfoot
Hi Randy, The only way I can think that this would be possible would be to send off a spatial query to the Fusion Tables API (using your own server, of course) and return the results back to your JavaScript application. You can read more about the FT API here: http://code.google.com/apis/fusionta

Re: [Google Maps API v3] Reverse Geocoding returns Zero Results

2011-08-25 Thread Chris Broadfoot
Hi Sara, The geocoder is designed specifically to convert between *addresses* and locations. The best thing to do here would be to get some geometry of countries, and do the matching yourself. It should be fairly trivial. Country border data is available from Natural Earth: http://www.naturaleart

Re: [Google Maps API v3] 2011/8/24 - New Release

2011-08-25 Thread Chris Broadfoot
. > Right now I see a mix of styles, my markers open custom info popups, and > the POI labels open different-looking info windows, so the app looks messy. > > On Wed, Aug 24, 2011 at 11:35 PM, Chris Broadfoot (Google Employee) < > c...@google.com> wrote: > >> Hi all, &g

Re: [Google Maps API v3] Re: We need a Map.getScale() method

2011-08-25 Thread Chris Broadfoot
This won't be accurate, because the resolution of a map with the mercator projection (like Google maps) is dependent on the latitude. It's possible to calculate using this formula: 156543.03392 * Math.cos(latLng.lat() * Math.PI / 180) / Math.pow(2, zoom) This is based on the assumption that the

Re: [Google Maps API v3] Earth within the Maps API V3

2011-08-24 Thread Chris Broadfoot
Hi Brandon, Try the Google Earth utility library, which provides some integration between Maps API and Earth API: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/googleearth/examples/earth.html Cheers Chris -- http://twitter.com/broady On Thu, Aug 25, 2011 at 10:44 AM, Brandon

Re: [Google Maps API v3] StyledMapType based on TERRAIN

2011-08-24 Thread Chris Broadfoot
Hi, This is possible using the "styles" option on the MapOptions object. For example, to disable labels on the Terrain map: new google.maps.Map(mapDiv, { center: new google.maps.LatLng(...), zoom: ..., mapTypeId: google.maps.MapTypeId.TERRAIN, styles: [ { elementType: "labels",

[Google Maps API v3] 2011/8/24 - New Release

2011-08-24 Thread Chris Broadfoot (Google Employee)
Hi all, We recently released a new version of the Maps API. The most noticeable change in this release is that business icons are now on by default. They can be removed by applying a style that hides "poi.business" labels. This can be set as the "styles" option on the MapOptions object, which wi

Re: [Google Maps API v3] Re: how to close all InfoWindow before opening new infowindow?

2011-08-24 Thread Chris Broadfoot
Hi Dan, The recommendation is to only have one InfoWindow, changing the content and updating its position (or using the "open" method). This is the technique used in the example you linked. Chris -- http://twitter.com/broady On Thu, Aug 25, 2011 at 12:08 PM, DanZ wrote: > Reading this thre

Re: [Google Maps API v3] downloaded example does not run

2011-08-24 Thread Chris Broadfoot
Arjan, Did you also copy the referenced scripts/v3_epoly.js file? Chris -- http://twitter.com/broady On Wed, Aug 24, 2011 at 8:07 PM, Arjan wrote: > Hi! > > In another post, I asked a question on making "sector plots". > The following suggestion was given: > > http://www.geocodezip.com/v3_p

Re: [Google Maps API v3] Text along polylines

2011-08-24 Thread Chris Broadfoot
Definitely, that'd be awesome. Check out the MapLabel utility library for a start: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/maplabel/examples/maplabel.html Even if it's just implemented in Canvas, it'd be interesting. -- http://twitter.com/broady On Wed, Aug 24, 2011 at 6

Re: [Google Maps API v3] Using getHeading()

2011-08-24 Thread Chris Broadfoot
Hi Peter, The getHeading method is for the Map object, and is related to using aerial imagery. See the doc here: http://code.google.com/apis/maps/documentation/javascript/reference.html#Map If you want to find the heading between two locations, use the computeHeading method: http://code.google.co

Re: [Google Maps API v3] Text along polylines

2011-08-24 Thread Chris Broadfoot
Sorry Upsidown, I haven't seen any example of someone doing this. It's certainly possible using an OverlayView, with some SVG or VML and a bit of maths. Chris -- http://twitter.com/broady On Wed, Aug 24, 2011 at 6:23 PM, upsid...@bluewin.ch wrote: > Hello, > > Anybody on that one? > After se

Re: [Google Maps API v3] Removing restaurants, hotels etc. from the roadmap

2011-08-24 Thread Chris Broadfoot
Hi, you can disable the business icons by making them invisible using a map style. The relevant style is [ { featureType: "poi.business", elementType: "labels", stylers: [ { visibility: "off" } ] } ] You can use "styles" in MapOptions to apply the style across the roadm

Re: [Google Maps API v3] Javascript API v3 templates

2011-08-24 Thread Chris Broadfoot
Hi Satpack, Sounds like your first port of call is to learn some JavaScript. In the mean time, check out some of the V3 code samples: http://code.google.com/apis/maps/documentation/javascript/examples/index.html With regards to having checkboxes for Fusion Tables, that's quite advanced and you'l

Re: [Google Maps API v3] Re: New Markers in Internet Explorer

2011-08-24 Thread Chris Broadfoot
Hi Dan & Jordan, Could you please link to a test page that shows this? MarkerImage should definitely not require a scaledSize parameter. Thanks Chris -- http://twitter.com/broady On Wed, Aug 24, 2011 at 10:52 AM, Jordan Train wrote: > I found that the marker constructor now requires a scaled

Re: [Google Maps API v3] Re: Regarding google map version3.3

2011-08-24 Thread Chris Broadfoot
Hi Jung, I can't see a problem with that map. Can you please elaborate? Chris -- http://twitter.com/broady On Wed, Aug 24, 2011 at 5:53 PM, Jung Seungho wrote: > there is map view in version of 3.4v map. you look, we can not use this map > version. > > we will wait your reply..fast...please

Re: [Google Maps API v3] Re: Some of my KML just stopped working

2011-08-23 Thread Chris Broadfoot
Hi Maurice, it should have been rolled back last night. Chris -- http://twitter.com/broady On Tue, Aug 23, 2011 at 10:45 PM, geocode...@gmail.com wrote: > On Aug 23, 3:33 am, Maurice Tamman wrote: > > 6:30 am and none of my kml feeds are working on my map of on the maps, > > regardless of w

Re: [Google Maps API v3] Some of my KML just stopped working

2011-08-22 Thread Chris Broadfoot
This may have been caused to an update of KML rendering - we're going to roll back and investigate. If you can, please retain the KML at that link so we can test against it. Cheers Chris -- http://twitter.com/broady On Tue, Aug 23, 2011 at 12:49 PM, Maurice Tamman wrote: > It happened this

Re: [Google Maps API v3] Re: 2011/8/17 - New Release (3.6)

2011-08-22 Thread Chris Broadfoot
On Tue, Aug 23, 2011 at 11:56 AM, Enoch Lau (Google Employee) < enoch...@google.com> wrote: > * > http://code.google.com/apis/maps/documentation/javascript/reference.html#MarkerOptions > * > Fixed link (MarkerOptions, not MapOptions) > Set 'optimized' to false. > Cheers Chris -- http://twitte

Re: [Google Maps API v3] Aw: Re: 2011/8/17 - New Release (3.6)

2011-08-22 Thread Chris Broadfoot
Unfortunately not Lorenzo. You'll need to apply a map style to hide poi labels: [ { featureType: "poi", elementType: "labels", stylers: [ { visibility: "off" } ] } ] (or to just hide business pois, "poi.business") -- http://twitter.com/broady On Mon, Aug 22, 2011 at 7:13 PM, Lorenzo wrote:

Re: [Google Maps API v3] v3.3 is gone. My dropdown menu needs new CSS. Will Google share?

2011-08-21 Thread Chris Broadfoot
Hi Joseph, I've added the CSS for dropdowns to the controls CSS example code. See here: http://gmaps-samples-v3.googlecode.com/svn/trunk/controls/index.html It's quite simple - let me know if you run into any problems styling your controls. Cheers Chris -- http://twitter.com/broady On Mon, A

Re: [Google Maps API v3] streetViewControl/rotateControl display issues

2011-08-21 Thread Chris Broadfoot
Hi Chuck, Can you link to a map that demonstrates this? I can't reproduce this on either a road map nor a map using aerial imagery. Thanks Chris -- http://twitter.com/broady On Sat, Aug 20, 2011 at 7:52 AM, Chuck Foster wrote: > I've noticed today that the pegman wasn't appearing on a map wh

Re: [Google Maps API v3] Re: 2011/8/17 - New Release (3.6)

2011-08-21 Thread Chris Broadfoot
re shown (both are pharmacies); there are no restaurants, > > banks, grocery stories, coffee shops, etc. Not very useful. > > > > Gary > > > > On Aug 16, 6:53 pm, Chris Broadfoot wrote: > > > > > > > > > Hi all, > > > > > We re

Re: [Google Maps API v3] Restrictions of static maps?

2011-08-21 Thread Chris Broadfoot
Hi Arjan, As you found, the Static Maps API is subject to restrictions in the *browser* regarding URL length. This does limit the complexity of maps you can generate. See here: http://code.google.com/apis/maps/documentation/staticmaps/#Limits "Static Map URLs are restricted to 2048 characters in

Re: [Google Maps API v3] Re: Distance Matrix - Will there be a new "mode" for public transport ??

2011-08-21 Thread Chris Broadfoot
This really hinges on the availability of transit from the API. See Thor's comment on this bug: http://code.google.com/p/gmaps-api-issues/issues/detail?id=713#c76 Cheers Chris -- http://twitter.com/broady On Mon, Aug 22, 2011 at 9:48 AM, Wizek <123.wi...@gmail.com> wrote: > Bump! > > I'd nee

Re: [Google Maps API v3] Add text to custom marker

2011-08-21 Thread Chris Broadfoot
Hi Sven, If you can guarantee your users will be on a browser with Canvas, check out the MapLabel library: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/maplabel/examples/maplabel.html If not, you might consider some other options: StyledMarker (using the Charts API) http://goog

Re: [Google Maps API v3] Draggable marker does not drag on Chrome Dev Mac

2011-08-21 Thread Chris Broadfoot
Thanks for the report - we're looking into this and it will be fixed in the next release. Cheers Chris -- http://twitter.com/broady On Sun, Aug 21, 2011 at 7:50 AM, Nick Krumholz wrote: > Using the javascript maps api v3, markers do not drag. I'm on > version 15.0.854.0 dev of Chrome on a Ma

Re: [Google Maps API v3] Re: Is it possible to access the google premade icons in different colours?

2011-08-17 Thread Chris Broadfoot
As Jeff says, look at using the Charts API. It's fantastic. Also try the MapIconMaker: http://gmaps-utility-library.googlecode.com/svn/trunk/mapiconmaker/1.1/examples/markericonoptions-wizard.html The code it generates is for V2, but it's very easy to port to V3. There shouldn't be any perceivab

Re: [Google Maps API v3] Google Maps V3 Resize and Center in the same time. (with jQuery resize)

2011-08-17 Thread Chris Broadfoot
Hi Repas, I'd be looking at using a "step function" of jQuery animate() that gets called at each step. Within the function, you could use panTo or setCenter on the map. http://api.jquery.com/animate/#step Let me know how that goes! Chris -- http://twitter.com/broady On Thu, Aug 18, 2011 at

Re: [Google Maps API v3] Get Updates for changes to a specific Map

2011-08-17 Thread Chris Broadfoot
Hi Sascha, Are you using My Maps? If so, see the forum here: http://www.google.com/support/forum/p/maps/label?lid=11b743e93acfcc52&hl=en This group is for the Maps API: http://code.google.com/apis/maps/documentation/javascript/ Thanks, Chris -- http://twitter.com/broady On Thu, Aug 18, 2011

Re: [Google Maps API v3] How can I display OverlayMapType in a OverviewMap?

2011-08-17 Thread Chris Broadfoot
No workaround that I can think of, other than re-implementing the overview map (a LOT of work!) I've changed the issue to a feature request. It's not really a bug. Please do star the issue if you'd like to see it implemented. Cheers Chris -- http://twitter.com/broady On Wed, Aug 17, 2011 at 7

Re: [Google Maps API v3] Error: 'google' is undefined

2011-08-17 Thread Chris Broadfoot
No problem! It's always best to see what the live output looks like. When using frameworks like Wordpress, they'll often do clever (no sarcasm!) things that may be surprising. Cheers Chris -- http://twitter.com/broady On Thu, Aug 18, 2011 at 1:11 AM, Stephen Backholm wrote: > Chris, > > You'

Re: [Google Maps API v3] Re: 2011/8/17 - New Release (3.6)

2011-08-17 Thread Chris Broadfoot
On Wed, Aug 17, 2011 at 9:37 PM, en4ce wrote: > btw, this clickable icons are really not consistent if you cant style the infowindow, the infowindows look like google, but our info windows > don't ... (same thing with panoramio anyway), of cause i can set this > function off but where is the poi

Re: [Google Maps API v3] Re: 2011/8/17 - New Release (3.6)

2011-08-17 Thread Chris Broadfoot
port de Dinard Pleurtuit Saint-Malo (DNR), 35730 Pleurtuit, > France > whose coordonates are > Lat : 48.58776739755567 > Lng : -2.0796951962890944 > > Hope this helps with your investigations > Simon > > On Aug 17, 11:02 am, Chris Broadfoot wrote: > > Are you able to

Re: [Google Maps API v3] Error: 'google' is undefined

2011-08-17 Thread Chris Broadfoot
Hi Stephen, Looks like your scripts are ordered incorrectly. I see: http://www.thurstontalk.com/wp-content/w3tc/min/3c51652e.6ed1a0.js "> http://maps.googleapis.com/maps/api/js?sensor=false";> http://www.google.com/jsapi";> You'll want to load the dependencies of your script first (e

Re: [Google Maps API v3] Re: 2011/8/17 - New Release (3.6)

2011-08-17 Thread Chris Broadfoot
[ { visibility: > "off" }]} > I even tried : > { featureType: "transit.station.airport", elementType: "labels", > stylers: [ { visibility: "off" }]} > > > Do I need to log a bug ? > > On Aug 17, 3:53 am, Chris Broadfoot wrote: > > Hi

[Google Maps API v3] 2011/8/17 - New Release (3.6)

2011-08-16 Thread Chris Broadfoot
Hi all, We recently released a new minor version of the Maps API. This means that shortly, the versions of the Maps API will be: 3.6: Development/Nightly 3.5: Feature Stable 3.4: Frozen 3.3 will continue to exist for a short period of time, after which you will receive 3.4 when requesting 3.3. --

Re: [Google Maps API v3] Re: StreetView and custom MapType.

2011-08-16 Thread Chris Broadfoot
Hi Steffen, This is something we're changing in the 3.6 release. Pegman will be shown on custom map types. Please begin testing against the nightly release: http://maps.googleapis.com/maps/api/js?sensor={true|false} -- http://twitter.com/broady On Mon, Aug 15, 2011 at 10:00 PM, giscoda wrote

Re: [Google Maps API v3] Bypassing certain restrictions

2011-08-14 Thread Chris Broadfoot
On Sun, Aug 14, 2011 at 7:10 PM, Pil wrote: > > The v3 Maps API is characterized by a good deal of restrictions > compared to v2. In my opinion these restrictions are making the v3 > Maps API unfriendly. > I personally would not characterise v3 this way. If you could elaborate rather than pronoun

Re: [Google Maps API v3] Snapshots of a Google Map

2011-08-11 Thread Chris Broadfoot
On Thu, Aug 11, 2011 at 1:45 AM, Andrew Leach wrote: > It's against the Terms of Service, isn't it? > Correct. This is against the ToS. Andrew's suggested solution sounds best. -- http://twitter.com/broady -- You received this message because you are subscribed to the Google Groups "Google M

Re: [Google Maps API v3] Non map image existance, just satelital image

2011-08-10 Thread Chris Broadfoot
Unfortunately not. You'll need to wait until the map is published. I can't give any timeframe on that. See this feature request to be able to get MapMaker tiles in the API (star it to put in a vote): http://code.google.com/p/gmaps-api-issues/issues/detail?id=2349 Chris -- http://twitter.com/broa

Re: [Google Maps API v3] Does Google Maps have a database of retail stores?

2011-08-09 Thread Chris Broadfoot
Hi Doug, What you saw was likely the HTML5 Geolocation API. Here are some resources to get you started: http://diveintohtml5.org/geolocation.html http://code.google.com/apis/maps/documentation/javascript/basics.html#Geolocation ... and if you're interested in the techy specification bits: http://

Re: [Google Maps API v3] Non map image existance, just satelital image

2011-08-09 Thread Chris Broadfoot
Hi Diego, What country are you targeting? Some countries are open to edits of the base map via Google Map Maker: http://www.google.com/mapmaker Check to see if your country is one of the 187: http://www.google.com/support/mapmaker/bin/answer.py?answer=155415 Hope this helps, Chris -- http://twi

Re: [Google Maps API v3] How destroy map object

2011-08-09 Thread Chris Broadfoot
Unfortunately, there is no functionality to do this in the Maps API. Could you please tell us a bit more about your use case? The closest thing to what you want is achieved by deleting the DOM element used as the container. Chris -- http://twitter.com/broady On Sun, Aug 7, 2011 at 9:53 PM, Sa

Re: Re : Re: Re : Re: [Google Maps API v3] Re : problem with marker drop

2011-08-09 Thread Chris Broadfoot
I doubt it's to do with latency of your internet connection. It's likely a browser bug. Once again, is this easily reproducible? Otherwise, there's not much we can do unless you can find some idea of why it's happening. Thanks Chris -- http://twitter.com/broady On Tue, Aug 9, 2011 at 5:48 PM,

Re: [Google Maps API v3] Re: Incomplete Documentation!

2011-08-09 Thread Chris Broadfoot
Hi Dimitar, The docs are correct, albeit I admit a little confusing. There are three (well, three-and-a-half, kinda) ways to initialise a map: 1) new google.maps.Map(div, { center: ..., zoom: ..., mapTypeId: ... }) 2) new google.maps.Map(div).setOptions({ center: ..., zoom: ..., mapTypeId: ...

Re: [Google Maps API v3] Kml file question

2011-08-08 Thread Chris Broadfoot
By the way, that won't update the KML every forty seconds. Instead of appending milliseconds since epoch, you could do something like: "http://metwit.net/last.kml?"; + Math.floor(new Date/1000/40) This will give you a new number every forty seconds, instead of a new number every millisecond. --

Re: [Google Maps API v3] Utterly confused and frustrated...

2011-08-08 Thread Chris Broadfoot
Once you see the buildings and roads you've added in regular map tiles ( maps.google.com) -- not MapMaker, they'll make their way to the API shortly after. Chris -- http://twitter.com/broady On Sat, Aug 6, 2011 at 4:00 AM, Chris wrote: > Hopefully someone can try to help me understand what I

Re: [Google Maps API v3] Bug: overviewMapControl:true, and ImageMapType

2011-08-08 Thread Chris Broadfoot
Thanks, we're taking a look at this issue. Also, have you seen my OSM layer, which I open sourced? http://broady.github.com/osm-layer/example.html It has a few nice things: - spreads requests across different domains - wraps tiles for longitudes > 360 deg or < 0 deg - attribution (very important

Re: [Google Maps API v3] Google Map API, Phonegap & JQuery ui

2011-08-08 Thread Chris Broadfoot
On Mon, Aug 8, 2011 at 4:10 AM, salehin wrote: > I am developing an mobile application using google map, phonegap and > jQueryMobile. In the map I have to show users > position update, so first time I am pulling the position using > "navigator.geolocation.getCurrentPosition" and letter using > "n

Re: [Google Maps API v3] Remove map type controls(Satellite/Map/Terrain)

2011-08-08 Thread Chris Broadfoot
Hi, The iframe embed found on maps.google.com is not actually using the Maps API. For more information on the Maps API, see here: http://code.google.com/apis/maps/documentation/javascript/ See these docs to learn how to remove elements of the default UI: http://code.google.com/apis/maps/documenta

Re: [Google Maps API v3] I have a polygon, how to know Technical Info point is the inside of my polygon

2011-08-04 Thread Chris Broadfoot
Try here: http://groups.google.com/group/google-maps-js-api-v3/search?hl=en_US&group=google-maps-js-api-v3&q=point+inside+polygon&qt_g=Search+this+group -- http://twitter.com/broady On Thu, Aug 4, 2011 at 5:24 PM, franklinNY wrote: > I have a polygon, how to know Technical Info point is the i

Re: [Google Maps API v3] Re: Hyperlink in info window not working (IE8)

2011-07-27 Thread Chris Broadfoot
Hi all, We're looking at this bug -- the change that caused this should be rolled back early tomorrow. For now, could you use the stable version (specify v=3.4) -- this is recommended for maps running in production anyway :) Chris. -- http://twitter.com/broady On Wed, Jul 27, 2011 at 7:43 PM

Re: [Google Maps API v3] DNS resolution for maps.googleapis.com

2011-07-27 Thread Chris Broadfoot
These are subject to change at any time. Have you considered using client-side geocoding to get around this restriction? -- http://twitter.com/broady On Wed, Jul 27, 2011 at 6:17 AM, Ketan wrote: > Hi, > We are developing a functionality on our website to locate a store based on > postal code

Re: [Google Maps API v3] Re: Length of polyline in pixels

2011-07-27 Thread Chris Broadfoot
You could find the approximate length (in metres) of 10px at the desired latitude, and then chop that length off the polyline. -- http://twitter.com/broady On Wed, Jul 13, 2011 at 10:06 PM, Pil wrote: > Hmm, I see, that's no easy task, there is a lot of math necessary. > > That's not worth th

Re: [Google Maps API v3] Re: Google Places Limit

2011-07-27 Thread Chris Broadfoot
Autocomplete has a separate, time-based quota. It isn't 1000 req/day. -- http://twitter.com/broady On Wed, Jul 27, 2011 at 4:32 PM, Esa wrote: > How about Autocomplete? Doesn't it generate a request by each 'keyup'. > So the 1000 limit can be reached by a single visitor in a few minutes. > >

Re: [Google Maps API v3] Place Search Requests

2011-07-27 Thread Chris Broadfoot
This is not currently possible. I'd suggest sending off two requests as a workaround. -- http://twitter.com/broady On Wed, Jul 27, 2011 at 1:05 PM, N.Aleksandrenko wrote: > i didn't find a possibility of sending multiply names with the request. > > from the doc.: > "name (optional) — A term to

Re: [Google Maps API v3] Customize popup window for waypoints

2011-07-26 Thread Chris Broadfoot
You can use all of the existing functionality of the DirectionsRenderer, but with your own InfoWindow: http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsRendererOptions You can actually use any InfoWindow-like object (like InfoBubble) to customize the popup. Try l

Re: [Google Maps API v3] Encoding polyline

2011-07-23 Thread Chris Broadfoot
Check the geometry library in V3: http://code.google.com/apis/maps/documentation/javascript/reference.html#encoding -- http://twitter.com/broady On Sat, Jul 23, 2011 at 12:52 PM, Eduardo Díaz Estrada < eduardo.destr...@gmail.com> wrote: > How can you create a polyline encoded? The link ( > >

Re: [Google Maps API v3] Mimick LatLng tooltip in Google Maps

2011-07-21 Thread Chris Broadfoot
Look at OverlayView: http://code.google.com/apis/maps/documentation/javascript/overlays.html#CustomOverlays http://code.google.com/apis/maps/documentation/javascript/reference.html#OverlayView -- http://twitter.com/broady On Fri, Jul 22, 2011 at 7:35 AM, EpicAdv wrote: > I'd like to create a

Re: [Google Maps API v3] places API JS V3 -- html_attributions (ex : Listings by yellow pages)

2011-07-21 Thread Chris Broadfoot
Could you post a link? The Places API itself doesn't add anything to your page. You probably have code that looks like this... attributionDiv.innerHTML += placesResult.attribution; -- http://twitter.com/broady On Thu, Jul 21, 2011 at 11:35 PM, Francis Carriere wrote: > Hello! > > I'm using t

Re: [Google Maps API v3] Removing prev marker after adding a new

2011-07-19 Thread Chris Broadfoot
Why not just change the position of the existing marker? -- http://twitter.com/broady On Wed, Jul 20, 2011 at 3:31 PM, jtomasrl wrote: > So when I make click on the map a new marker is added, but if there's > a prev marker, it get deleted > > var prevMarker = null; > google.maps.event.addLi

Re: [Google Maps API v3] Different pixel coords from projection and MapCanvasProjection

2011-07-19 Thread Chris Broadfoot
I think you actually want fromDivPixelToLatLng, not fromContainerPixelToLatLng. -- http://twitter.com/broady On Wed, Jul 20, 2011 at 2:13 AM, Pil wrote: > Pixel coords converted from the given 'normal' maps projection and > pixel coords from MapCanvasProjection are not the same. > > Here are

Re: Re : Re: [Google Maps API v3] Re : problem with marker drop

2011-07-18 Thread Chris Broadfoot
Is this easily reproducible? -- http://twitter.com/broady On Tue, Jul 19, 2011 at 4:16 AM, bezo27 wrote: > Hi Luke, > > here is my first message about this issue with more details : > => > http://code.google.com/intl/fr/apis/maps/documentation/javascript/forum.html?place=topic%2Fgoogle-maps-j

Re: [Google Maps API v3] Remove or make small text and transparent "Address is approximate"

2011-07-18 Thread Chris Broadfoot
Simply specify addressControl: false http://code.google.com/apis/maps/documentation/javascript/reference.html#StreetViewPanoramaOptions -- http://twitter.com/broady On Tue, Jul 19, 2011 at 6:55 AM, Andy wrote: > During street view, can Google please remove or make small text and > transparen

Re: [Google Maps API v3] Re: Earth on Google Map API V3

2011-07-17 Thread Chris Broadfoot
On Sat, Jul 16, 2011 at 6:15 PM, sgiddings wrote: > If maps v3 no longer requires a key, shouldn't the earth utility > library follow the same rule ? > Unfortunately it's not the Earth Utility library that requires this, but rather the Earth API itself. See this issue: http://code.google.com/p/

Re: [Google Maps API v3] Possibilies of eventlisteners on Markers

2011-07-15 Thread Chris Broadfoot
It's google.maps.event, not google.map.event. Chris On Jul 16, 2011 7:15 AM, "Nico" wrote: > Hello, > > I'd like to do two things when someone doubleclicks on an Marker and > would like to know if it's even possible: > > - resize the Map (already tried it with google.map.event.trigger(map, > "res

Re: [Google Maps API v3] Re: Clustering millon markers?

2011-07-14 Thread Chris Broadfoot
On Thu, Jul 14, 2011 at 7:09 AM, AlbertoHN wrote: > the problem is that I can't use the info windows attached to them. How can the user click on a specific marker, when there are a million of them? I would first re-evaluate this user experience, then think about sending the location of any click

Re: [Google Maps API v3] Format Driving Directions

2011-07-14 Thread Chris Broadfoot
You can format them however you want using the DirectionsResult: http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsResult ... but that site is using V2. Try using V3. Also, as per the terms of service, you need to display the directions on a Google map. Chris --

Re: [Google Maps API v3] Print google map together with marker!

2011-07-14 Thread Chris Broadfoot
On Thu, Jul 14, 2011 at 6:18 PM, Daejeon wrote: > The short, the Google Maps Javascript API doesn't print overlays (markers, > lines) correctly or at all. It seems to work for me (in Chrome/Mac) at least. What browser are you having troubles with? -- http://twitter.com/broady -- You received

[Google Maps API v3] 2011/7/11 - New Release

2011-07-14 Thread Chris Broadfoot
Hi all, We recently pushed a new version of the Maps API. The changelog for this release is copied below. See the full changelog here: http://code.google.com/p/gmaps-api-issues/wiki/JavascriptMapsAPIv3Changelog Resolved issues: * Fixed: not clickable within infowindow on touch device ( Issue 32

Re: [Google Maps API v3] GeoTIFF or GeoPDF support

2011-07-12 Thread Chris Broadfoot
I recommend converting the GeoTIFF to web mercator tiles using gdal2tiles or MapTiler (http://www.maptiler.org/). You can then use an ImageMapType to display it as a base map or as an overlay on top of Google's roadmap/satellite imagery. MapTiler is pretty nice, it will generate sample implementa

Re: [Google Maps API v3] Re: Create tile??

2011-07-11 Thread Chris Broadfoot
You'll have to show us a link for us to help you. Here's one custom map type I've made: http://broady.github.com/osm-layer/example.html Code here: http://broady.github.com/osm-layer/osm.js -- http://twitter.com/broady On Mon, Jul 11, 2011 at 5:03 PM, Daejeon wrote: > I am still having probl

Re: Re : Re: [Google Maps API v3] UTM in v3

2011-07-10 Thread Chris Broadfoot
You'll want to convert from UTM to Lat/Long. Here's one convertor (see the source for the necessary maths): http://home.hiwaay.net/~taylorc/toolbox/geography/geoutm.html -- http://twitter.com/broady On Sun, Jul 10, 2011 at 8:13 PM, Ze 910 wrote: > Hello > I'm new to google map api and I also

Re: [Google Maps API v3] Drag map pragmatically

2011-07-10 Thread Chris Broadfoot
You probably want something like "setCenter", and MapCanvasProjection to convert between pixel space and LatLng space: http://code.google.com/apis/maps/documentation/javascript/reference.html#MapCanvasProjection Chris -- http://twitter.com/broady On Mon, Jul 11, 2011 at 5:26 AM, patrick91 wrot

<    1   2   3   4   5   6   7   8   >