Re: [Google Maps API v3] Re: clicking on Direction Service Panel

2011-10-05 Thread Subodh Shah
Hi,

Thanks for the response. What I was looking for a simple configurable
way for it, rather than again redoing the same what google provides. [?]

Thanks for your help.
Subodh

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

<<330.png>>

[Google Maps API v3] Is there any support for Saving the current displayed Map as Image

2011-10-05 Thread Ravi Darji
Hi,

I just wanted to know that is there any support for Saving the current
displayed Map as Image.

Thanks in Advanced

Ravi Darji

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



Re: [Google Maps API v3] Re: Terms of service - GMaps API

2011-10-05 Thread Chris Broadfoot
Correct. The relevant section is here:
http://code.google.com/apis/maps/terms.html#section_9_1

Chris

--
http://twitter.com/broady



On Thu, Oct 6, 2011 at 5:34 AM, Joseph Elfelt wrote:

> My understanding is that the answer is 'yes' you can charge $ for your
> customized app as long as the ultimate maps can be viewed at no cost.
>
> --
> 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.



Re: [Google Maps API v3] Re: Where is BrowserIsCompatible()

2011-10-05 Thread Luke Mahé
Do you really need it though? What browsers are you targeting where the map
won't be compatible?

-- Luke


On Thu, Oct 6, 2011 at 12:19 PM, BruceB  wrote:

> [G]BrowserisCompatible is not available in v3.   There's a feature 
> requestcreated
>  for it in the forum -- I would "star" it if you want it added.
>
> --
> 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/-/aSeVjDoqpqoJ.
>
> 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: Turn off console logging

2011-10-05 Thread BruceB
Could you elaborate a little? What sort of messages are you seeing in the 
javascript console?

-- 
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/-/naqqe2VF9kIJ.
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] Turn off console logging

2011-10-05 Thread Scott H
The v3 API seems to log a lot of stuff into the Javascript Console. Is
there any way to turn that off? I am using version 3.5 of the API

-- 
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: create colored overlay of regions on map

2011-10-05 Thread BruceB
Have you looked into using a Fusion Tables 
layeron
 your map?
Lots of examples posted here: 
 https://sites.google.com/site/fusiontablestalks/stories
An example from the documentation: 
 
http://code.google.com/apis/maps/documentation/javascript/examples/layer-fusiontables-styling.html
 
-- the colored sections are also clickable.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/xrCK0887yqEJ.
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: Where is BrowserIsCompatible()

2011-10-05 Thread BruceB
[G]BrowserisCompatible is not available in v3.   There's a feature 
requestcreated 
for it in the forum -- I would "star" it if you want it added.

-- 
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/-/aSeVjDoqpqoJ.
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: Google Maps on android application

2011-10-05 Thread Sim Teng Hock
In between intermediate and advance i suppose. Thanks for answering :). I
just needed directions.

On Thu, Oct 6, 2011 at 4:07 AM, Martin™  wrote:

> Hi.
>
> You have two options to display a map in an Android app i think.
>
> Create a browser based (javascript) map and use the Android WebView to
> render that map or use the native Android (java) MapView.
>
> A browser based map gives you access to all the current API services
> and easy integration with the Google Places API.
> You need skills in HTML5 technologies - javascript, css and html for
> example.
>
> A MapView requires a degree of skill in java.
> You would need to write methods that get data from the Places API and
> methods to render that data entirely in java.
>
> A browser based map on Android devices older than v3 Honeycomb will
> NOT support pinch to zoom and will probably take longer to load than a
> MapView.
>
>  A MapView is quick to load and natively supports pinch to zoom on all
> multi-touch capable devices.
>
> Each option has it's advanatges and disadvantages though - what is
> your skill level?
>
> Martin.
>
>
>
> On Oct 5, 9:54 am, kintoki  wrote:
> > Hey guys I would like to know if I can use google maps to interact
> > with an application that is build on android which is using Java? My
> > program basically gives a set of questionaires and get a result and i
> > want to use google places to get suggestions of shops with the result
> > i get based on my questions? Is it possible?
>
> --
> 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] territory marking and locating

2011-10-05 Thread taazza
Is there an with  which we can mark a territory on the map of the earth. 
Then we should be able to find out if a given location is inside this 
territory through a API call. I know google earth provides something very 
close but I am not able to find out if it can answer that a given location 
is inside the marked territory or not

-- 
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/-/YVEA48dZnKgJ.
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: Cursor on polygon

2011-10-05 Thread Enoch Lau (Google Employee)
It's currently not possible. If you're interested in this, please add a 
request here: http://code.google.com/p/gmaps-api-issues/issues/list

Enoch

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/WqxLlR9pjtsJ.
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 I have gps ( the blue 'you are here' dot) on an embedded map?

2011-10-05 Thread Chris Broadfoot
Check out the HTML5 geolocation API. You probably want "watchPosition":

https://developer.mozilla.org/en/Using_geolocation#Watching_the_current_position

Spec: http://dev.w3.org/geo/api/spec-source.html#watch-position

Chris

--
http://twitter.com/broady



On Wed, Oct 5, 2011 at 11:26 PM, Tony Jillson  wrote:

> Thanks, Chris.
> Interesting. I hadn't thought about a copyright issue, since the API is
> free to use.
> Anyway, I have no problem with making a custom marker. You can see them on
> our African American Walkingtour prototype here:
>
> http://centuries.digitalgizmo.com/team/walkingtour/afram_walkingtour/maptour_kml.html
>
> What I need is the same functionality, i.e. the marker must move around
> with you as you walk, in real time.
>
> If that is not proprietary to Google Maps, can you point me to the code?
>
> Thanks,
> Tony
>
> On Oct 4, 2011, at 10:42 PM, Chris Broadfoot wrote:
>
> Hi,
>
> The blue dot (or something similar) can be achieved with a Marker with
> custom MarkerIcon.
>
> As far as I know we don't provide any access to the blue dot. I'd suggest
> creating your own - that way you don't have to worry about any copyright
> issues.
>
> Chris
>
> --
> http://twitter.com/broady
>
>
>
> On Wed, Oct 5, 2011 at 5:42 AM, Birdwaves  wrote:
>
>> On my iPad, the first example at:
>>
>> http://code.google.com/apis/maps/documentation/javascript/examples/map-geolocation.html
>> does not give me the blue dot. Just a word balloon that says says
>> "Location found using HTML5." It did discover my location. If I knew
>> what the blue dot was called, I could research it...
>>
>>
>>
>> On Oct 1, 6:02 am, Rossko  wrote:
>> > > MY question is this: Can I get the GPS functionality (blue dot) using
>> > > the v3 API?
>> >
>> > http://code.google.com/apis/maps/documentation/javascript/basics.html.
>> ..
>> > gives the basics
>> >
>> > > Secondly is there a site that that gives simple
>> > > instructions?
>> >
>> > http://code.google.com/apis/maps/documentation/javascript/
>> >
>> > Some of Mike W's v2 code examples have been ported to v3 by Larry
>> athttp://www.geocodezip.com/
>> >
>> > > All the web research seems to indicate that you can't do
>> > > all the things in v3 that you could do in v2.
>> >
>> > Which things are you expecting to be a problem?  I don't see anything
>> > that's likely to be an issue in your demo.
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > 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.
>>
>>
>
> --
> 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] Where is BrowserIsCompatible()

2011-10-05 Thread alex b
Porting some v2 code which calls GBrowserIsCompatible().   I'm not seeing 
the v3 equivalent.  I wanted to guess it was 
google.maps.BrowserIsCompatible() but I"m not seeing it. Anyone know where 
it lives or if it's been deprecated?  

-- 
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/-/tnLkNrPzmIoJ.
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: Grey map when adding marker in Chrome beta

2011-10-05 Thread Adrian CDL
This issue is happening again with Chrome 15.0.874.51 beta-m

Click on the map to create a marker and top half of the map goes grey

http://gmaps-samples-v3.googlecode.com/svn/trunk/drivingdirections/directions-optimized.html




On Aug 30, 10:22 pm, Adrian CDL  wrote:
> I don't see this with fullscreen examples. Seems to do with smaller
> maps
>
> On Aug 30, 10:18 pm, Adrian CDL  wrote:
>
>
>
>
>
>
>
> > This is imageshack link to what I see after clicking on the map with
> > the example link shown above
>
> >http://bit.ly/ocRiff
>
> > There is nothing more minimal to show.. Its just add a marker to a map
> > automatically or with user input and it goesgrey. No marker - no
> >grey. Extra markers do not make a difference
>
> > I opened the Inspect Element panel and strangely thegreyswapped, so
> > top of the map was normal again but bottom 20% was nowgrey. Can't see
> > a div in Inspect Element which matches thegreyarea
>
> > I wonder if it is a graphics card issue. I have no graphics card, it
> > is a Intel Core Duo 2 E8200 with G33/G31 Express Chipset. Is Chrome 14
> > doing something clever with graphics?
>
> > On Aug 30, 3:14 am, Chris Broadfoot  wrote:
>
> > > 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 on Windows 7
>
> > > > Its not consistent either, different locations produce a different
> > > > level ofgreybackground.
>
> > > > On Aug 28, 11:13 am, James McGill  wrote:
> > > > > Hi Adrian,
>
> > > > > Can you specify which version of Chrome you mean (click Spanner ->
> > > > > About Google Chrome) as well as which operating system?
>
> > > > > Regards,
> > > > > James
>
> > > > > On Sun, Aug 28, 2011 at 5:42 AM, Adrian CDL 
> > > > > 
> > > > wrote:
> > > > > >http://gmaps-samples-v3.googlecode.com/svn/trunk/drivingdirections/di.
> > > > ..
>
> > > > > > With the latest Chrome, click on the map to create a marker. The top
> > > > > > 80% of the background will gogrey
>
> > > > > > --
> > > > > > 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] Polygon Clickable:false disable other events

2011-10-05 Thread Thiago Puia Barnabé
I trying to handle the 'mouseover' and 'mousemove' events off a polygon but 
when i set the clickable option to false it stop's to handle the events. 
I found here a topic with the same problem, in this topic a google employer 
said they will change the documentation. 

But the documentation isn't changed, so i want to know if there is a 
solution or not. 

Anyone can help me ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/UsD7DQXXvHUJ.
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] clustering markers according to category

2011-10-05 Thread CB
I'm trying to convert a script to use MarkerCluster but can't figure
out how to get the clusters recalculated when a user increases/
decreases the markers according to whatever category they choose.  My
example is on dropbox at: 
http://dl.dropbox.com/u/43722536/TimeshareMapsClustered.html

I *think* my problem is that I have the markers invisible when not
selected, I don't delete it from the array.  Is there a way to update
the cluster with an option for only visible markers?

-- 
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] Setting variables at point of adding listener function

2011-10-05 Thread Mr_Sz
I am iterating through several polygons and happily setting their maps.  I 
am now wanting to add an event listener to those polygons which will trigger 
a function based on either its position within the MVC array or a variable I 
can set.

I have tried :

  for (var i = 0; i < polygonArray.length; i++)
{

new google.maps.event.addListener(polygon , 'click', anotherFunction(i));
...
}


and

  new google.maps.event.addListener(polygon, 'click', function() {
   anotherFunction(i);
  });


however I have successfully achieved a similar solution by using an infobox 
and adding, this means the user has to click the infobox label rather than 
the actual polygon.

 boxText.innerHTML =""+Name+""


Any pointers in the right direction would be very gratefully received.

James

-- 
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/-/7lmb_0ElfDAJ.
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 on android application

2011-10-05 Thread Martin™
Hi.

You have two options to display a map in an Android app i think.

Create a browser based (javascript) map and use the Android WebView to
render that map or use the native Android (java) MapView.

A browser based map gives you access to all the current API services
and easy integration with the Google Places API.
You need skills in HTML5 technologies - javascript, css and html for
example.

A MapView requires a degree of skill in java.
You would need to write methods that get data from the Places API and
methods to render that data entirely in java.

A browser based map on Android devices older than v3 Honeycomb will
NOT support pinch to zoom and will probably take longer to load than a
MapView.

 A MapView is quick to load and natively supports pinch to zoom on all
multi-touch capable devices.

Each option has it's advanatges and disadvantages though - what is
your skill level?

Martin.



On Oct 5, 9:54 am, kintoki  wrote:
> Hey guys I would like to know if I can use google maps to interact
> with an application that is build on android which is using Java? My
> program basically gives a set of questionaires and get a result and i
> want to use google places to get suggestions of shops with the result
> i get based on my questions? Is it possible?

-- 
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: Jumping overlay when panning on iPhone

2011-10-05 Thread Boris Rarden
Here's my workaround. The attached file is also hosted at:

http://random.hypervolume.com/map_origin_change.html

In the nutshell, the fix detects origin change and dispatches an event 
called "origin_changed".  Using it:

map = new google.maps.Map(document.getElementById('mapcanvas'), opts);
map.setCenter(new google.maps.LatLng(40.75013, -73.987974));
google.maps.event.addListener(map, 'origin_changed', on_origin_changed);
new OriginDetector(map);

The implementation:

--8<-
  function OriginDetector(map) { 
this.setMap(map); 
this.map = map;
this.reset_();
var self = this;
google.maps.event.addListener(map, 'bounds_changed', function(){ 
self.detect_() });
google.maps.event.addListener(map, 'zoom_changed', function(){ 
self.reset_() });
  }

  OriginDetector.prototype = new google.maps.OverlayView();
  OriginDetector.prototype.onAdd = function() { }
  OriginDetector.prototype.onRemove = function() { }

  OriginDetector.prototype.draw = function() { 
this.detected = false;
  }

  OriginDetector.prototype.reset_ = function(){
this.testpoint = null;
this.pos = null;
this.dispatched = false;
  }

  OriginDetector.prototype.detect_ = function(){
if (this.detected)
  return;
if (!this.testpoint) this.testpoint = this.map.getCenter(); 
var pos = this.getProjection().fromLatLngToDivPixel(this.testpoint);
if (!this.pos) this.pos = pos;
if (this.pos.x != pos.x || this.pos.y != pos.y){
  this.testpoint = this.map.getCenter();
  this.pos = this.getProjection().fromLatLngToDivPixel(this.testpoint);
  this.detected = true;
  google.maps.event.trigger(map, "origin_changed");
}
  }
->8---

Then, the rest of the hack is to react on the "origin_changed" event as 
follows: repeat for all custom overlays (markers) and hide them if they are 
not in current viewport.  They will be shown on the next call to draw() that 
will follow after a split second.

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

<<< text/html; charset=us-ascii; name=test.html: Unrecognized >>>


[Google Maps API v3] Re: Damn IE - can anyone see why this won't work?

2011-10-05 Thread Rossko
> Sorry, I've just about had it with IE :(
>
> http://www.chambresdhotes.org/cgi-bin/links/page.cgi?g=Google_Maps&t=...

Browsers react differently to invalid HTML
Try your page at http://validator.w3.org/

There's a problem with the doctype

There is a serious problem with the structure - two  tags

Most of the other error reports are follow-ons from the failed
doctype, fix that and see what's left.

-- 
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: Terms of service - GMaps API

2011-10-05 Thread Joseph Elfelt
My understanding is that the answer is 'yes' you can charge $ for your
customized app as long as the ultimate maps can be viewed at no cost.

-- 
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: Damn IE - can anyone see why this won't work?

2011-10-05 Thread Joseph Elfelt
IE8:
Unknown runtime error  page.cgi?
g=Google_Maps&t=espanol&q=Paris&radiusSelect=30, line 254 character 2

HTH

-- 
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] create colored overlay of regions on map

2011-10-05 Thread rmcguire
Hello I've been debating back and forth about how to do the follow but
thought maybe a google map might be an option:

I have a North American map, which is divided into regions for
instance West, South, Central, East based on state

Im wanting to create an overlay of that map which displays colors over
the regions(state groups)

For instance West= red, South= greeen, etc.

Could someone direct me to a tutorial or how to do this API v3.


Once the user clicks on one of the regions it will also popup and info
window which will display such things as Sales reps for that area,
etc.

Any help would be appreciated


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] Re: Jumping overlay when panning on iPhone

2011-10-05 Thread Boris Rarden
I have understood the problem better.  Here's the sequence of events that 
happens

1. viewport div, lets call it ORIGIN is set to (0,0)  for top left corner of 
the map
2. marker is created at say (100,100) and shows up inside the viewport
3. user pans east, and as a result ORIGIN is set to (-500,0) for example.  
4. user pans more east, and ORIGIN is set to (-700,0) for example.
5. user pans yet 300 pixel more to the east, and the following happens
5.1  ORIGIN is set again to (0,0)
5.2  marker.draw() is called, which computes to be draw at the new 
position of  (-900,0)

The flicker happens between 5.1 and 5.2, because the marker is still drawn 
at the old position of (100,100), but the frame of reference already 
changed.   

-- 
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/-/a71REHPeZQYJ.
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: Terms of use clarification

2011-10-05 Thread james cars
Thank you for the information DC

-- 
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/-/PppVUiFkaJEJ.
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 I have gps ( the blue 'you are here' dot) on an embedded map?

2011-10-05 Thread Tony Jillson
Thanks, Chris.
Interesting. I hadn't thought about a copyright issue, since the API is free to 
use. 
Anyway, I have no problem with making a custom marker. You can see them on our 
African American Walkingtour prototype here:
http://centuries.digitalgizmo.com/team/walkingtour/afram_walkingtour/maptour_kml.html

What I need is the same functionality, i.e. the marker must move around with 
you as you walk, in real time.

If that is not proprietary to Google Maps, can you point me to the code?

Thanks,
Tony

On Oct 4, 2011, at 10:42 PM, Chris Broadfoot wrote:

> Hi,
> 
> The blue dot (or something similar) can be achieved with a Marker with custom 
> MarkerIcon.
> 
> As far as I know we don't provide any access to the blue dot. I'd suggest 
> creating your own - that way you don't have to worry about any copyright 
> issues.
> 
> Chris
> 
> --
> http://twitter.com/broady
> 
> 
> 
> On Wed, Oct 5, 2011 at 5:42 AM, Birdwaves  wrote:
> On my iPad, the first example at:
> http://code.google.com/apis/maps/documentation/javascript/examples/map-geolocation.html
> does not give me the blue dot. Just a word balloon that says says
> "Location found using HTML5." It did discover my location. If I knew
> what the blue dot was called, I could research it...
> 
> 
> 
> On Oct 1, 6:02 am, Rossko  wrote:
> > > MY question is this: Can I get the GPS functionality (blue dot) using
> > > the v3 API?
> >
> > http://code.google.com/apis/maps/documentation/javascript/basics.html...
> > gives the basics
> >
> > > Secondly is there a site that that gives simple
> > > instructions?
> >
> > http://code.google.com/apis/maps/documentation/javascript/
> >
> > Some of Mike W's v2 code examples have been ported to v3 by Larry 
> > athttp://www.geocodezip.com/
> >
> > > All the web research seems to indicate that you can't do
> > > all the things in v3 that you could do in v2.
> >
> > Which things are you expecting to be a problem?  I don't see anything
> > that's likely to be an issue in your demo.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > 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.
> 
> 
> 
> -- 
> 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] Cursor on polygon

2011-10-05 Thread gogoigo
Hi,

How I can specify a cursor on a clickable polygon? I only get to
change the cursor on the map, not on the polygon.

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] Google Maps on android application

2011-10-05 Thread kintoki
Hey guys I would like to know if I can use google maps to interact
with an application that is build on android which is using Java? My
program basically gives a set of questionaires and get a result and i
want to use google places to get suggestions of shops with the result
i get based on my questions? Is it possible?

-- 
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] 30% of map loads until a forced refresh

2011-10-05 Thread PCJ
Hello,

I've installed the Google Maps plugin to 
http://thingsthataregood.com/fletcherlaw on the Contact page.
Now the maps do not display correctly until you refresh the page.

I'm stuck to find this solution.

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/-/lZy6Nv9bab0J.
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] Damn IE - can anyone see why this won't work?

2011-10-05 Thread Andy Newby
Hi guys,

Sorry, I've just about had it with IE :( 

http://www.chambresdhotes.org/cgi-bin/links/page.cgi?g=Google_Maps&t=espanol&q=Paris&radiusSelect=30

Works fine in FF, Chrome, Safari, IE 9 and IE 10 - yet won't work in IE 7 or 
8! I get an error, but cos I'm testing it in a program called "IETester", I 
don't actually have a proper way to view the javascript its moaning at.

Does anyone have a copy of IE 7 or IE 8, which they can run that page on, 
and tell me the errors they see? 

BTW: Its not the google maps bug, which I'm assuming someone is aware about 
already:

http://gossamerlinks.com/maps_error.png

The error I'm refering to is when you click on "Contact Propertie"

http://gossamerlinks.com/proper_error.png

It drives me NUTS how crappy IE's debugging tools are for Javascript and 
what-not. At least IE 9 and 10 are better - but we still have to code for 
those using older versions :(

TIA to anyone who can take a peek 

Andy

-- 
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/-/71M3HQtCno8J.
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: Do I need to do URL Signing when using google.maps.geocoder?

2011-10-05 Thread Paul Rong
Thanks Bruce. I will contact Google support for more information too.

-- 
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/-/Sy8Zp23VQ6wJ.
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: infoWindow for every set of coordinates on polyline

2011-10-05 Thread xelawho
I sent you a reply to this on your other thread (which was a bit
confusing I admit, sorry):
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/f03c85d83d1f2ffb#

-- 
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: Do I need to do URL Signing when using google.maps.geocoder?

2011-10-05 Thread BruceB
You don't need to sign your client-side geocoding requests -- only for web 
services.

If you're seeing an error stating that your ID is not valid for the site 
you're loading it on, I would recommend contacting Google Support.  You 
should have received a "welcome" email with your Premier client ID that 
lists the site(s) for which your ID is registered.  If the site you're 
hosting your maps application on is not in that list, you can ask the 
support team to add the site to the list of registered sites.

-- 
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/-/CvQudq0OYLoJ.
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 get the intersection coordinate of the poliline with other polyline, polygon, circle?

2011-10-05 Thread Rossko
> I have a big problem with GoogleMap, how to get the intersection coordinate
> of the polyline with other polyline, polygon, circle? Please help me!

In general
http://www.google.com/search?q=calculate+line+intersection

a suggested approach for polylines
http://groups.google.com/group/google-maps-api/browse_thread/thread/9a3908309589832e/0f0cb0cda4f14774

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



Re: [Google Maps API v3] Re: Basic error - but can't put my finger on it!

2011-10-05 Thread Andy Newby
Thanks, that did the trick :)

On Tue, Oct 4, 2011 at 7:50 PM, geocode...@gmail.com
wrote:

> On Oct 4, 11:43 am, Andy Newby  wrote:
> > Hi,
> >
> > I'm trying to get a basic geocoder working, but can't seem to get the
> values
> > passed back. The main codes are:
> >
> >
> >   function codeAddress(address) {
> > geocoder.geocode( { 'address': address}, function(results, status) {
> >   if (status == google.maps.GeocoderStatus.OK) {
> > var test =  results[0].geometry.location.lat() + "," +
> > results[0].geometry.location.lng();
> > alert("TEST: " + test);
> >   } else {
> > alert("Geocode was not successful for the following reason: " +
> > status);
> >   }
> > });
> >   }
> >
> > The part:
> >
> > alert("TEST: " + test);
> >
> > prints out the value I'm expecting fine:
> >
> > TEST: 51.089816,-0.449291906
> >
> > ..yet the values here are undef:
> >
> > var lat_lng_vals = codeAddress("Rudgwick, UK");
> > alert("LAt: " + lat_lng_vals);
> >
> > What am I doing wrong? FF debugger doesn't show any errors, but it never
> > seems to get the values? Does it maybe need running using async?
>
> Geocoding is asynchronous.  You can't return the results that way, you
> need to use them in the callback function.
>
>  -- Larry
>
> > (cos the
> > messages come up as "Lat:..." and THEN the "TEST:" alert)
> >
> > TIA
>
> --
> 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.
>
>


-- 
Andy Newby
a...@ultranerds.co.uk

-- 
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 get the intersection coordinate of the poliline with other polyline, polygon, circle?

2011-10-05 Thread Tran Huu Nguyen
Hi all,

I have a big problem with GoogleMap, how to get the intersection coordinate 
of the polyline with other polyline, polygon, circle? Please help me! 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/-/OKjzvFqC3MMJ.
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: Blue "You Are Here" Dot

2011-10-05 Thread DC
On 4 Okt., 20:55, Birdwaves  wrote:
> The popup balloon says "Location found with HTML5". And it did show my
> location. But no blue dot, which updates as you move.

For the blue dot you'll have to create your own image and use it for a
marker to show the visitors position. Obtain the visitors position
following the guidelines here (did not test it myself, but probably it
will work) https://developer.mozilla.org/en/Using_geolocation

-- 
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: Address of a latlng chopped after space

2011-10-05 Thread Rossko
> Can someone let me know if I am doing it correctly?

Obviously not.