[Google Maps API v3] Accuracy of fromDivPixelToLatLng function

2012-08-23 Thread Jason
Hi,

I'm trying to make it easier for users to add overlays to the my web app, 
and to do this I need to have an accurate lat/long point of the div 
corners.  Complicating this is the fact I've added the jquery rotate 
library available on google code.

So what I do now is get the top, left, right and height values from the 
div's CSS.

Assuming that *
*
   
   - *overlay* is the *OverlayView* object described in the custom overlay 
   secion of the documentation and has already been initialized
   - *newElement* is the new image overlay 
   - *map* is the map view


var overlay = new google.maps.OverlayView
var container = getDocumentById(newElement);

var top = container.style.top;
var left= container.style.left;
var right = container.style.right
var height = container.style.height

var topRight = overlay.getProjection().fromDivPixelToLatLng(new 
google.maps.Point(top, right));
var bottomLeft = overlay.getProjection().fromDivPixelToLatLng(new 
google.maps.Point(left, top-height));

My issue is that the topRight and bottomLeft coordinates are off quite a 
bit.  When I align the image, 

topRight has a location of 43.6812604043771, -70.4521192899 when it 
should be 43.682516,-70.450773
and bottomLeft has a location of 43.68966614995, -70.45189391667174 
when it should be 43.681413,-70.45168

These coordinates are off by at least 20 meters or so.  Is there a better 
way to actually calculate the coordinate locations without resorting to a 
marker drop and drag?

-- 
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/-/U8dACZMacXEJ.
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] Out of Range Error when defining a panorama in a jQuery dialog

2012-08-15 Thread Jason
I want to load a single panorama and its associated links within a jQuery 
dialog.  The code is adapted from my previous code, with the only exception 
being that clicking on the links does nothing.

I can see the StreetView UI elements load, but then an error is fired off.  
It says 

*TypeError: this.l is not a function
(2570 out of range 2548)  main.js (line 2570)*

I installed a javascript deminifier plugin for Firebug and found the 
error.  The main.js file is 2548 lines long, and the declaration required 
is on line 2570.

This only occurs when defining a panorama inside a dialog.  If I define it 
within a page, it works.

-- 
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/-/OE3nR3Nzl0MJ.
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] Links being rendered in arbitrary directions in StreetView app

2012-08-14 Thread Jason
Thank you.  But what is the difference between originHeading and 
centerHeading, and how does that affect the direction of the links?

-- 
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/-/7OXXqHfi5H0J.
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] Links being rendered in arbitrary directions in StreetView app

2012-08-13 Thread Jason
How does StreetView determine which direction is north?

I have a series of panoramas with links between them.  These panoramas have 
GPS coordinates associated with them and I use them to calculate the 
compass bearings between two links.

However, it seems that the links themselves are being rendered in arbitrary 
directions regardless of the heading value.

In my panorama options, I've set the default heading to 0.  If this is 
combined with a panorama heading of 0, the view is rendered from the center 
of the panorama.  Unfortunately, as my link bearings are based off GPS 
coordinates, if there is no constant north value, the links get rendered 
all over the place.

How would I solve this?

-- 
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/-/fypV1kZhw_wJ.
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: Custom Panorama code crashing browsers

2012-08-11 Thread Jason
An update:

I reverted to another previously confirmed working version from a month ago 
and the crashes still occur when moving from one panorama to another

I've checked

   - Panorama image files on all machines are valid and the paths have not 
   changed.
   - Eliminating all links but two between two single images.  The first 
   image loads, browser crashes moving to the next
   - All associated data with the panorama links, including description, 
   heading and pano are valid
   - Double checked the php code to retrieve the needed data from db, fits 
   all requirements.

Has the Maps team made any changes to the API that could be the cause?





On Friday, August 10, 2012 8:50:47 AM UTC-4, Jason wrote:

 Has anyone noticed if their custom panorama views are crashing Firefox?

 My panorama code has been fine, but just noticed that its crashing Firefox 
 and Safari when clicking on a new link.
 This is strange since the panorama-handling code has been untouched for 2 
 weeks now and this problem exists with a 
 earlier version of the code on a remote machine.

 All panorama link data is loading as appropriate from jQuery.ajax() 
 requests and the file paths have not changed.

 Does JMC Tour http://130.111.148.131/JMCTour cause your browser to 
 crash 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/-/PLFvGmgZbK4J.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Custom Panorama code crashing browsers

2012-08-10 Thread Jason
Has anyone noticed if their custom panorama views are crashing Firefox?

My panorama code has been fine, but just noticed that its crashing Firefox 
and Safari when clicking on a new link.
This is strange since the panorama-handling code has been untouched for 2 
weeks now and this problem exists with a 
earlier version of the code on a remote machine.

All panorama link data is loading as appropriate from jQuery.ajax() 
requests and the file paths have not changed.

Does JMC Tour http://130.111.148.131/JMCTour cause your browser to crash 
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/-/VwFqyZrA-YYJ.
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] Updating infowindow location in real time

2012-08-07 Thread Jason
I have a set of draggable markers on a map.  Getting the coordinate 
information is no issue, but I'd like to have the coordinate location 
update in the infowindow in real time.

Is there a way to do this without creating multiple InfoWindows?

My current solution is to implement a drag listener for the marker and 
create a new InfoWindow object when the event fires.  Needless to say, this 
is very inefficient.

//anonymous function for event listeners
  (function(newMarker){
google.maps.event.addListener(newMarker, click, function(){
  infowindow = new google.maps.InfoWindow({
content: infoWindowData(newMarker, newMarker.title)
  });
  
  infowindow.open(map, newMarker)
});

google.maps.event.addListener(newMarker, 'dragend', function(){
  //log.info(newMarker.getPosition());
  console.log(newMarker.getPosition());
  newMarker.animation;
  currentMarker = newMarker;
  infowindow = new google.maps.InfoWindow({content: 
infoWindowData(newMarker, newMarker.title)});
  infowindow.open(map, currentMarker);
});  

//listen for the rightclick event to close the infowindow
google.maps.event.addListener(newMarker, 'rightclick', function(){
  infowindow.close();
  currentMarker = null;
});

google.maps.event.addListener(newMarker, 'drag', function(){
  var data = infoWindowData(newMarker, newMarker.title);
  console.log(Window Data: +data);
  infowindow = new google.maps.InfoWindow({content: data});
  infowindow.open(map, newMarker);
  
});

  })(newMarker);

-- 
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/-/pyCDl3K9GosJ.
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] Browser issues with custom panoramas

2012-08-06 Thread Jason
Thanks for the look.  I found and used a cross browser javascript 
implementation of the log4j library.  Site now works in IE

On Sunday, August 5, 2012 5:14:46 AM UTC-4, Andrew Leach wrote:

 On 5 August 2012 00:00, Jason jason.jo...@maine.edu wrote: 
  
  The page works fine in Safari, Opera and Firefox, but not in IE or 
 Chrome. 
  
  In IE 8/9, the map view fails to even load, leaving an empty space in 
 the 
  middle of the screen. 

 In IE: there is an error, flagged by the warning icon in the status 
 bar. At least this one should be easy to deal with. 
 - 
 Webpage error details 

 User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; 
 Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 
 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; Zune 4.7) 
 Timestamp: Sun, 5 Aug 2012 09:05:05 UTC 

 Message: 'console' is undefined 
 Line: 28 
 Char: 3 
 Code: 0 
 URI: http://130.111.148.131/JMCTour/testIndex.php 
 - 

  Chrome loads the div as well as showing the little map, but the image is 
  rendered a black whatever.  The links to the surrounding locations are 
  rendered and work.  The image just fails to load, and there's no 
 warnings 
  whatsoever in the console. 

 Chrome is correctly fetching the panoramic images, but I can't see 
 where it's putting them in the DOM. Sorry: that's not a great deal of 
 help. 


-- 
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/-/y8rn0Zk02PwJ.
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] Browser issues with custom panoramas

2012-08-04 Thread Jason
I'm building an indoor virtual tour application using custom panoramas and 
the StreetView API.  The project is almost finshed and I'm executing the 
cross browser testing.

The page works fine in Safari, Opera and Firefox, but not in IE or Chrome.

In IE 8/9, the map view fails to even load, leaving an empty space in the 
middle of the screen.

Chrome loads the div as well as showing the little map, but the image is 
rendered a black whatever.  The links to the surrounding locations are 
rendered and work.  The image just fails to load, and there's no warnings 
whatsoever in the console.

If you could check out 130.111.148.131/JMCTour/testIndex.php and suggest 
any solutions, I would appreciate it.

-- 
You received this message because you are subscribed to the Google Groups 
Google Maps JavaScript API v3 group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/SwcpOzw65RsJ.
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: Issue with styling Korean map

2012-07-19 Thread Jason Lee
Yes, I have noticed this just today myself.

The style maps are fine up to zoom 06 but then the normal styled Google 
map tiles appear from zoom 07 onwards JUST for S. Korea. The surrounding 
map tiles around the country are the style that I customized.

Does the S. Korean government have an issue with users styling maps of 
their country at street level? Please reply and confirm.

Jason


-- 
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/-/qFFfd6CCNTQJ.
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: getposition, custom panorama and PHP

2012-07-05 Thread Jason
Charles,

Were you able to find a solution for this? I'm working on a similar project 
and have had no luck.

Jason

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



[Google Maps API v3] Custom Panoramas and Usage Limits

2012-04-30 Thread Jason
I'm part of a team that is beginning development of an application to
build virtual tours inside buildings using our own panoramas.

Using the Maps v3 API, usage limits are defined as 1000 unique
requests per user per day.  However, this doesn't state if it is
applicable to self-provided panos.

Does this limit apply using Google's photo content only, or does a
hard limit of 1000 request/day/user exist even with custom content?

-- 
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 Map api v3 - IE7 - main.js error - invalid argument

2012-03-02 Thread Jason
http://bit.ly/xkHPnU

I've looked at all of the timing issues, and I can't seem to resolve
this error. Occurs in IE7 and compatibility modes as a warn-on error.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1;
SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
Media Center PC 6.0; Tablet PC 2.0)
Timestamp: Fri, 2 Mar 2012 21:58:06 UTC


Message: Invalid argument.
Line: 27
Char: 56
Code: 0
URI: http://maps.gstatic.com/intl/en_us/mapfiles/api-3/7/12/main.js

Need another set of eyes on it.

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: Infowindow - Unwanted scroll bars in Firefox, Chrome Safari.

2012-02-10 Thread Jason
jquery method - 



add this line to your click function for the infoWindow:

//remove overflow scrollbars
$('#myDiv').parent().css('overflow','');

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



[Google Maps API v3] Custom Markers for Directions Output (not in map)

2012-01-17 Thread Jason
I am able to get custom markers to display in the map for driving
directions, but not in the actual driving directions output.

Any examples floating around for this?

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: FusionTablesLayer suddenly quit working

2011-12-09 Thread Jason Kirkland
I'm only seeing some of my polygons in a Maps API FusionTablesLayer 
suddenly. Normally there are dozens, now just a couple.  In Chrome 
developer tools, the images being returned from mapsIt (the ones that don't 
seem to be displaying correctly) are 1x1 pixels
The information contained in this email is meant solely for the intended 
recipient. 
Access to this email by anyone else is unauthorized. If you are not the 
intended recipient, 
any disclosure, copying, distribution or any action taken or omitted in 
reliance on this, 
is prohibited and may be unlawful. No liability or responsibility is accepted 
if information 
or data is, for whatever reason, corrupted or does not reach its intended 
recipient. 
No warranty is given that this email is free of viruses. The views expressed in 
this email are, 
unless otherwise stated, those of the author and not those of the City of 
Lewisville or its management.

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



[Google Maps API v3] Custom tile overlays broken in v 3.7

2011-11-17 Thread Jason
hi,

I'm using a custom tile overlay (discussed earlier in this group
http://bit.ly/uAplOc) to display image tiles on top of a map. The
reason for using the custom tile overlay instead of the native
Image.MapType is I need to be able to dynamically change the opacity
of the image layer.

Everything works as expected in version 3.4 or 3.5 of the api but
starting with 3.7 the tiles become jumbled after a few seconds of
zooming and panning.

working example:

http://69.164.209.124/mobile/debuggm/mimagery.html

broken example:

http://69.164.209.124/mobile/debuggm/mimagery_broken.html

Any idea what changed between 3.5 and 3.7 that would cause this?

When will changing the opacity of an Image.MapType layer be available?
It's been acknowledged at:

http://code.google.com/p/gmaps-api-issues/issues/detail?id=3125q=opacitysort=-starscolspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Internal%20Stars

Thanks in advance,
Jason

-- 
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: Custom tile overlays broken in v 3.7

2011-11-17 Thread Jason
Thanks Marcelo. I'll check that out. Nice site too btw!

The tile behavior is there. I just confirmed it in both FF and Chrome.
I zoom in about 5 clicks and start dragging the map around. Everything
gets jumbled using the 3.7 API.

On Nov 17, 11:50 am, Marcelo marcelo...@hotmail.com wrote:
 I don't see any difference between your two links, either in Chrome or
 Firefox.
 In case it helps, my MCustomTileLayer object, allows you to set the
 opacity of a tile layer:http://maps.forum.nu/v3/gm_customTiles.html

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

 On Nov 17, 8:43 am, Jason jason.wool...@gmail.com wrote:







  hi,

  I'm using a custom tile overlay (discussed earlier in this 
  grouphttp://bit.ly/uAplOc) to display image tiles on top of a map. The
  reason for using the custom tile overlay instead of the native
  Image.MapType is I need to be able to dynamically change the opacity
  of the image layer.

  Everything works as expected in version 3.4 or 3.5 of the api but
  starting with 3.7 the tiles become jumbled after a few seconds of
  zooming and panning.

  working example:

 http://69.164.209.124/mobile/debuggm/mimagery.html

  broken example:

 http://69.164.209.124/mobile/debuggm/mimagery_broken.html

  Any idea what changed between 3.5 and 3.7 that would cause this?

  When will changing the opacity of an Image.MapType layer be available?
  It's been acknowledged at:

 http://code.google.com/p/gmaps-api-issues/issues/detail?id=3125q=opa...

  Thanks in advance,
  Jason

-- 
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: Issues loading Maps JS API through firewall

2011-10-21 Thread Jason Kirkland
It might be good to check whether the same error comes up in IE's developer 
console since IE seems to freak out the most over actual javascript issues. 
 I only suggest this because maybe there is a js issue and IE should catch 
it and that might then lead to ask what version of Chrome they're using.

I'm guessing the above suggestion won't solve the problem but it might be 
worth checking

We've had firewall issues lately that have blocked https traffic and that 
your customer's firewall could be blocking something as well.  We also have 
had a severe internet speed slowdown which has caused tiles to not load and 
other strange behavior.  Your customer might be experiencing something 
similar

Hope you find a solution!

Jason

-- 
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/-/v1LxlnXKArwJ.
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: ArcGIS with Google map API

2011-10-10 Thread Jason Kirkland
My team uses Google Fusion Tables and the Google Maps API (v3) via 
javascript.  We use shpescape.com to convert our ArcGIS 9 shapefiles to 
fusion tables.  We like this approach because everything runs on Google's 
systems and not ours (except for the html/javascript files).

-- 
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/-/HF-5YyU-M8IJ.
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] Legal Content

2011-09-20 Thread Jason Hornbuckle
Greetings. I have read the google terms of service but cannot find an answer 
to my specific question. 
Put simply, can use the google API's to zoom in on art work ( just like the 
google art project) instead of maps without any legal issue from Google, 
assuming
of course that I have full legal rights to the artwork in question. 

My only concern is if google has some issue with it because I am considering 
creating an app for a client in which they can display their artwork and I 
don't want do it if google is going to forbid it anytime in the future. 

-- 
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/-/6ajHk9zdV2cJ.
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: Bad requests on custom tile overlays

2011-07-30 Thread Jason
Thanks for posting that Kesuke! It would be great to get this working.
Those 404s have been a headache for quite a while.

I've implemented your example on a small test page and I'm not seeing
any tiles. I'm not too familiar with PHP but I did check that safe
mode is off with phpinfo.

My php looks like this:

?php
$filename = /var/www/merge/tiles/ . intval($_GET['z']) .
_ .intval($_GET['x']) . _ . intval($_GET['y']) . .png;

   header(Content-Type: image/png);
   header(Cache-Control: max-age=84600);

   if (file_exists($filename)) {
   header(Content-Length:  . filesize($filename));
   readfile($filename);
   } else {
   readfile(/var/www/merge/tiles/clear.png);
   }
?

the tiles are at:

http://69.164.209.124/merge/tiles/

and the page is here:

http://69.164.209.124/merge/mimagery.html

Any idea what I'm missing here?

Thanks in advance for a steer in the right direction.

On Jul 30, 10:19 am, Kesuke nick_dai...@hotmail.com wrote:
 Okay, thanks everyone – the PHP solution works great!
 So here is a guide for Jason or anyone else who stumbles across this;

 1.) Make a new PHP file with the following code:

 ?php

    $filename = /usr/www/httpdocs/tiles/ . intval($_GET['z']) . _ .
 intval($_GET['x']) . _ . intval($_GET['y']) . .png;

    header(Content-Type: image/png);
    header(Cache-Control: max-age=84600);

    if (file_exists($filename)) {
        header(Content-Length:  . filesize($filename));
        readfile($filename);
    } else {
        readfile(/usr/www/httpdocs/clear.png);
    }

 ?

 Basically this PHP script will check to see if the file exists. If it
 does it will return the file. If it doesn't, it will return a 1px
 empty image, in this case called 'clear.png'. The only stuff you
 should need to change are the paths to clear.png and $filename. Be
 aware that PHP safe mode can probably screw this up.

 NOTE: counter-intuitively, PHP looks for the true file destination NOT
 the URL. So you need to know your servers C:// style path to the file.
 There are ways around it using fopen() but you would need to look
 those up - not realising this gave me headaches.

 2.) Now, go into your map javascript and point to the PHP file instead
 of the image URL. Specify the zoom/x/y co-ords which we will detect
 using $_GET in our PHP script. If you don’t know what $_GET is have a
 look on google as its quite fundamental – but in basic terms you send
 variables and their values to a PHP document by appending the URL with
 the format “map.html/?var=valueothervar=value”. PHP then plucks those
 values and variables out for you to use.

 So, using the above example:

   function createImageMapType(id) {
     return new google.maps.ImageMapType({
       getTileUrl: function(coord, zoom) {
             return /tilefinder.php?z= + zoom + x= + coord.x + y= +
 coord.y;
       },
       tileSize: new google.maps.Size(256, 256),
       isPng: true,
           opacity: true
     });
   }

 I hope this helps. So far it seems to be working well on my site,
 there is a noticable improvement in load times and my Google PageSpeed
 score got pushed up by about 20-30 points. If you want to improve
 things further, I suggest setting a higher max-age (probably of 28
 days/2419200) and also adding a last modified content-type header.

 On Jul 30, 12:52 am, John Coryat cor...@gmail.com wrote:

  On Friday, July 29, 2011 6:20:03 PM UTC-5, Jason wrote:

   Sorry for the noob question but does this require any other
   configuration changes (ie. htaccess)? I've included this in my
   index.html and it is still showing 404 errors in Chrome.

   Thanks

  You'll have to be more specific. What did you try? What's the URL of your
  map?

  -John Coryat

-- 
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: Bad requests on custom tile overlays

2011-07-30 Thread Jason
Got it.. Thanks John.. I was working on it when you hit it probably.

Anyway, I think I've got it solved. Kesuke's PHP code was looking for
tiles named zoom_x_y.png. My tms is a bit different, zoom and x are
folders and y is the tile png.

Changing the php $filename to:

$filename = /var/www/merge/tiles/ . intval($_GET['z']) .
/ .intval($_GET['x']) . / . intval($_GET['y']) . .png;

and then in the map code changing the return statement to:

return /merge/tiles.php?z= + zoom + /x= + coord.x + /y= +
(Math.pow(2,zoom)-coord.y-1) + .png;

seems to work for me. I have a google base layer, tiles and no 404s.

Kesuke, I can't thank you enough for that post. That problem was
bugging me for months!

Thanks much!




On Jul 30, 4:43 pm, John Coryat cor...@gmail.com wrote:
 Your page is generating errors:
 Uncaught ReferenceError: initialize is not defined

 I suggesting looking at the JavaScript console.

 -John Coryat

-- 
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: Bad requests on custom tile overlays

2011-07-30 Thread Jason
Thanks for pointing that out. I'm assuming you mean the /x=  and  /
y=? I thought so too but the odd thing is it works fine without the
forward slashes in Firefox or IE but in Chrome the tiles don't load
without having the forward slashes there.

Not sure why that is.

On Jul 30, 5:47 pm, Kesuke nick_dai...@hotmail.com wrote:
 Your welcome, i'm also very pleased to have this sorted.

 On a side note, you don't need the forward slashes in your javascript,
 only your PHP. Even though it works it is probably best to remove them
 as it might throw up an error in some browsers.

 With $_GET, you stick a ? on the end of the URL. Then the variable
 name, followed by the equals sign and the value (number/letters etc.).
 If you want to add more than one set of values and variables, seperate
 them with the ampersand () symbol. You need the slashes in the PHP
 obviously because you are telling it to look for the next folder.

 On Jul 30, 10:27 pm, Jason jason.wool...@gmail.com wrote:

  Got it.. Thanks John.. I was working on it when you hit it probably.

  Anyway, I think I've got it solved. Kesuke's PHP code was looking for
  tiles named zoom_x_y.png. My tms is a bit different, zoom and x are
  folders and y is the tile png.

  Changing the php $filename to:

  $filename = /var/www/merge/tiles/ . intval($_GET['z']) .
  / .intval($_GET['x']) . / . intval($_GET['y']) . .png;

  and then in the map code changing the return statement to:

  return /merge/tiles.php?z= + zoom + /x= + coord.x + /y= +
  (Math.pow(2,zoom)-coord.y-1) + .png;

  seems to work for me. I have a google base layer, tiles and no 404s.

  Kesuke, I can't thank you enough for that post. That problem was
  bugging me for months!

  Thanks much!

  On Jul 30, 4:43 pm, John Coryat cor...@gmail.com wrote:

   Your page is generating errors:
   Uncaught ReferenceError: initialize is not defined

   I suggesting looking at the JavaScript console.

   -John Coryat- Hide quoted text -

  - Show quoted text -

-- 
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: Bad requests on custom tile overlays

2011-07-30 Thread Jason
Yep, that was it.. Working fine now.

Thanks again!

On Jul 30, 8:18 pm, Kesuke nick_dai...@hotmail.com wrote:
 Yup you are correct, it should be ?z=        x=       y=

 Hmmm, my guess is it's probably because you have cached some  of the
 images in chrome while tweaking it. Try dumping your temp. internet
 files, then when you revist the page click Ctrl-F5 to do a force
 refresh. It is probably because of the header(Cache-Control: max-
 age=84600) - which means that for 84600 seconds (ie 24 hours) the
 resources should be retrieved from the cache rather than your server.

 On Jul 31, 1:08 am, Jason jason.wool...@gmail.com wrote:

  Thanks for pointing that out. I'm assuming you mean the /x=  and  /
  y=? I thought so too but the odd thing is it works fine without the
  forward slashes in Firefox or IE but in Chrome the tiles don't load
  without having the forward slashes there.

  Not sure why that is.

  On Jul 30, 5:47 pm, Kesuke nick_dai...@hotmail.com wrote:

   Your welcome, i'm also very pleased to have this sorted.

   On a side note, you don't need the forward slashes in your javascript,
   only your PHP. Even though it works it is probably best to remove them
   as it might throw up an error in some browsers.

   With $_GET, you stick a ? on the end of the URL. Then the variable
   name, followed by the equals sign and the value (number/letters etc.).
   If you want to add more than one set of values and variables, seperate
   them with the ampersand () symbol. You need the slashes in the PHP
   obviously because you are telling it to look for the next folder.

   On Jul 30, 10:27 pm, Jason jason.wool...@gmail.com wrote:

Got it.. Thanks John.. I was working on it when you hit it probably.

Anyway, I think I've got it solved. Kesuke's PHP code was looking for
tiles named zoom_x_y.png. My tms is a bit different, zoom and x are
folders and y is the tile png.

Changing the php $filename to:

$filename = /var/www/merge/tiles/ . intval($_GET['z']) .
/ .intval($_GET['x']) . / . intval($_GET['y']) . .png;

and then in the map code changing the return statement to:

return /merge/tiles.php?z= + zoom + /x= + coord.x + /y= +
(Math.pow(2,zoom)-coord.y-1) + .png;

seems to work for me. I have a google base layer, tiles and no 404s.

Kesuke, I can't thank you enough for that post. That problem was
bugging me for months!

Thanks much!

On Jul 30, 4:43 pm, John Coryat cor...@gmail.com wrote:

 Your page is generating errors:
 Uncaught ReferenceError: initialize is not defined

 I suggesting looking at the JavaScript console.

 -John Coryat- Hide quoted text -

- Show quoted text -- Hide quoted text -

  - Show quoted text -

-- 
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: Bad requests on custom tile overlays

2011-07-29 Thread Jason
Does anyone know of a page or an example where this is done with PHP?
Makes sense but I haven't done much PHP.

Thanks

On Jul 28, 11:40 pm, Martin™ warwo...@gmail.com wrote:
 Why not make all tile requests to a PHP script?

 The script can check if the requested tile exists.
 If the tile exists then the script can return it to the map, otherwise
 it can return a blank transparent tile.

 http://php.net/manual/en/function.file-exists.php

 http://www.php.net/manual/en/function.file-get-contents.php

 A transparent 1 x 1 pixel PNG image can be used where there is no tile
 and that could be as small as 95 bytes:

 http://code.martinpearman.co.uk/deleteme/transparent_1x1.png

 Martin.

 On Jul 28, 1:28 pm, Jason jason.wool...@gmail.com wrote:

  I'd really like to know a fix for this too. It's been a problem for me
  for quite a while and I can't easily get write permission
  to .htaccess.

  On Jul 27, 1:46 pm, Kesuke nick_dai...@hotmail.com wrote:

   I am using custom tile overlays on a map. To fetch the tiles I use the
   generic method:

    function createImageMapType(id, opacityvalue) {
       return new google.maps.ImageMapType({
         getTileUrl: function(coord, zoom) {
           return /tiles/ + id + /+ zoom + _ + coord.x + _ +
   coord.y + .png;
         },
         tileSize: new google.maps.Size(256, 256),
         isPng: true,
         opacity: opacityvalue
       });
     }

   Here is the problem: My map uses lots of transparent PNG tiles, and
   infact some tiles are completely transparent. So rather than have
   thousands of 3kb empty PNG files, I just don’t have those tiles.

   This works but it technically generates a lot of 404 bad request
   errors. An average user visit can make as many as 300 bad requests.
   This really hurts page load time and also looks bad for search
   engines.

   So, does anyone have an idea how I could only fetch tiles that
   actually exist?

   One other idea I have had is could I setup an .htaccess rule that
   redirects to a universal empty PNG file for any tile that can’t be
   found (so it doesn’t return a bad request).

   I don’t want to generate empty tiles as I have over 130 custom tile
   overlays for zoom levels 1 through 5. Just at zoom level 5 that would
   be something like 140,000 files and my server is limited.

-- 
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: Bad requests on custom tile overlays

2011-07-29 Thread Jason
Sorry for the noob question but does this require any other
configuration changes (ie. htaccess)? I've included this in my
index.html and it is still showing 404 errors in Chrome.

Thanks

On Jul 29, 2:19 pm, Barry Hunter barrybhun...@gmail.com wrote:
 ?php

 $filename = 
 tiles/.intval($_GET['z'])./.intval($_GET['x'])./.intval($_GET['y'])..png;

 header(Content-Type: image/png);
 header(Cache-Control: max-age=84600);

 if (file_exists($filename)) {
   header(Content-Length: .filesize($filename));
   readfile($filename);} else {

   header(Content-Length: 95);
   readfile(transparent1x1.png);

 }

 Change to suit your needs.

 On Fri, Jul 29, 2011 at 4:52 PM, Jason jason.wool...@gmail.com wrote:
  Does anyone know of a page or an example where this is done with PHP?
  Makes sense but I haven't done much PHP.

  Thanks

  On Jul 28, 11:40 pm, Martin™ warwo...@gmail.com wrote:
  Why not make all tile requests to a PHP script?

  The script can check if the requested tile exists.
  If the tile exists then the script can return it to the map, otherwise
  it can return a blank transparent tile.

 http://php.net/manual/en/function.file-exists.php

 http://www.php.net/manual/en/function.file-get-contents.php

  A transparent 1 x 1 pixel PNG image can be used where there is no tile
  and that could be as small as 95 bytes:

 http://code.martinpearman.co.uk/deleteme/transparent_1x1.png

  Martin.

  On Jul 28, 1:28 pm, Jason jason.wool...@gmail.com wrote:

   I'd really like to know a fix for this too. It's been a problem for me
   for quite a while and I can't easily get write permission
   to .htaccess.

   On Jul 27, 1:46 pm, Kesuke nick_dai...@hotmail.com wrote:

I am using custom tile overlays on a map. To fetch the tiles I use the
generic method:

 function createImageMapType(id, opacityvalue) {
    return new google.maps.ImageMapType({
      getTileUrl: function(coord, zoom) {
        return /tiles/ + id + /+ zoom + _ + coord.x + _ +
coord.y + .png;
      },
      tileSize: new google.maps.Size(256, 256),
      isPng: true,
      opacity: opacityvalue
    });
  }

Here is the problem: My map uses lots of transparent PNG tiles, and
infact some tiles are completely transparent. So rather than have
thousands of 3kb empty PNG files, I just don’t have those tiles.

This works but it technically generates a lot of 404 bad request
errors. An average user visit can make as many as 300 bad requests.
This really hurts page load time and also looks bad for search
engines.

So, does anyone have an idea how I could only fetch tiles that
actually exist?

One other idea I have had is could I setup an .htaccess rule that
redirects to a universal empty PNG file for any tile that can’t be
found (so it doesn’t return a bad request).

I don’t want to generate empty tiles as I have over 130 custom tile
overlays for zoom levels 1 through 5. Just at zoom level 5 that would
be something like 140,000 files and my server is limited.

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

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



[Google Maps API v3] Re: Bad requests on custom tile overlays

2011-07-28 Thread Jason
I'd really like to know a fix for this too. It's been a problem for me
for quite a while and I can't easily get write permission
to .htaccess.

On Jul 27, 1:46 pm, Kesuke nick_dai...@hotmail.com wrote:
 I am using custom tile overlays on a map. To fetch the tiles I use the
 generic method:

  function createImageMapType(id, opacityvalue) {
     return new google.maps.ImageMapType({
       getTileUrl: function(coord, zoom) {
         return /tiles/ + id + /+ zoom + _ + coord.x + _ +
 coord.y + .png;
       },
       tileSize: new google.maps.Size(256, 256),
       isPng: true,
       opacity: opacityvalue
     });
   }

 Here is the problem: My map uses lots of transparent PNG tiles, and
 infact some tiles are completely transparent. So rather than have
 thousands of 3kb empty PNG files, I just don’t have those tiles.

 This works but it technically generates a lot of 404 bad request
 errors. An average user visit can make as many as 300 bad requests.
 This really hurts page load time and also looks bad for search
 engines.

 So, does anyone have an idea how I could only fetch tiles that
 actually exist?

 One other idea I have had is could I setup an .htaccess rule that
 redirects to a universal empty PNG file for any tile that can’t be
 found (so it doesn’t return a bad request).

 I don’t want to generate empty tiles as I have over 130 custom tile
 overlays for zoom levels 1 through 5. Just at zoom level 5 that would
 be something like 140,000 files and my server is limited.

-- 
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] difficulty having a map render when called via ajax

2011-07-03 Thread Jason
Hi there,

I'm experimenting with something like ajax. I want to load up some html 
(including a google map) from a separate file and insert it within a div in 
a different page.

the host page is at:
http://test-psi-alpha.appspot.com/geomodel

while the page with the map to be inserted is at: 
http://test-psi-alpha.appspot.com/test_map_load

The host page seems to load the insterted page fine, however the map 
doesn't render - even though it renders fine within the test_map page 
fine. Also, the div is the correct hight in both pages whether the map is 
rendered or not. I have no clue as to why this is not working.

as you will see the javascript I've used is pretty simple (on the host page 
side using jquery $.get here):

  script  
$(document).ready(function() {
$.get(/test_map_load, {}, function(html) {
$(#post_window).html(html);
});
});
/script

My backend is a simple python response which returns some_page.html to the 
javascript as html:

class TestMapLoadHandler(webapp.RequestHandler):
def get(self):
return doRender(self, 'some_page.html')

Any clues that could help me fix this issue would be greatly appreciated.

Cheers,
J

-- 
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/-/h169_LmpL3IJ.
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: Problems with Map rendering in IE7

2011-06-17 Thread Jason Cianfrone
Hi

have uploaded the map to an online page.

Would be very greatful if anyone can help.

Basically it doesn't load in IE7.

Thanks
Jason

On Mon, Jun 13, 2011 at 2:34 PM, Rossko ros...@culzean.clara.co.uk wrote:

  on a live server as its an internal page at my company.

 Then you'll have a Premier licence which comes with support from
 Google ...

 --
 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: Problems with Map rendering in IE7

2011-06-17 Thread Jason Cianfrone
http://jcianfrone.com/testing/index2.html

On Fri, Jun 17, 2011 at 11:12 AM, Jason Cianfrone jcianfr...@googlemail.com
 wrote:

 Hi

 have uploaded the map to an online page.


 Would be very greatful if anyone can help.

 Basically it doesn't load in IE7.

 Thanks
 Jason


 On Mon, Jun 13, 2011 at 2:34 PM, Rossko ros...@culzean.clara.co.ukwrote:

  on a live server as its an internal page at my company.

 Then you'll have a Premier licence which comes with support from
 Google ...

 --
 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: Problems with Map rendering in IE7

2011-06-17 Thread Jason
Hi Andrew,

wow I can't believe that was it, I followed your advice originally but 
thougt you were only refferring to the width. Thanks very much for your 
assistance.

J

-- 
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/-/UrMnk8Aco3gJ.
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] Problems with Map rendering in IE7

2011-06-13 Thread Jason
wow that's fixed it!..

Thanks so much for the quick response :)

-- 
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/-/1L6VHB-lBDQJ.
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] Problems with Map rendering in IE7

2011-06-13 Thread Jason
Actually I spoke to soon, that didn't fix it! Unfortunately I can't mount it 
on a live server as its an internal page at my company.

Would appreciate any other ideas if anyone has any.

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/-/y4YW4VuPZlcJ.
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 Javascript API V3 error

2011-05-31 Thread jason b.s. kim
We have serviced google map on our site using Google Maps Javascript
API V3.
However, it has not worked well since at the beginning of the May. We
can just see the place names.

The most important thing is the problem happens only South Korea; it
operates normally in Japan, China, USA

When we see the links below on the phone, lines on the road flickers
and disappears after 1~2 seconds. However, we can see the lines on the
road on the PC web well.

We thought our sourse codes do not have problmes because we make our
service with bottommost API sourse provided by Google.

-- 
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: Placing marker at a pixel coordinate

2011-05-28 Thread Jason Kaczmarsky
Alright I got something figured out. I found out how to calculate the
tile at which a certain point it located based on the zoom level. I
still don't understand how I can translate the tile/point position to
workable coordinates.

I believe if I can get a particular tile's position relative to the
window position, I can then get the difference and draw a marker based
on that.

Don't know if it's obvious, but I'm working in JavaScript and I would
like to draw a div at each point. If I can get the relative position
of a tile to the window, I can absolutely position a div relative to
the tile's X/Y values in the window.

On May 28, 6:05 am, John Coryat cor...@gmail.com wrote:
 You can convert a pixel coordinate into a latitude and longitude fairly
 easy. One thing you need to consider. All pixel coordinates are based on a
 particular zoom level. If all your pixel coordinates are assuming one static
 layer, you'll have to figure out what corresponding zoom that represents and
 calculate latitude and longitude based on that.

 Here's a Perl module with the tile math.

 http://www.usnaviguide.com/google-tiles.htm

 Hope that helps.

 -John Coryat

 http://maps.huge.info

 http://www.usnaviguide.com

 http://www.zipmaps.net

-- 
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: Placing marker at a pixel coordinate

2011-05-28 Thread Jason Kaczmarsky
I think I'm on the right track. In the getTile function it creates all
the tiles for the map and returns each of them. Obviously each tile is
placed accordingly on the page. My idea was to fetch this position in
the getTile function and when I view a tile DIV it does show the
position on the page. However, the div does not get created in getTile
so it has no position yet, it returns it to another function so I
cannot access the position. What does getTile return to? I think if I
try to access the position from there, I can get it all working.

On May 28, 7:00 pm, Jason Kaczmarsky jkaczmar...@gmail.com wrote:
 Alright I got something figured out. I found out how to calculate the
 tile at which a certain point it located based on the zoom level. I
 still don't understand how I can translate the tile/point position to
 workable coordinates.

 I believe if I can get a particular tile's position relative to the
 window position, I can then get the difference and draw a marker based
 on that.

 Don't know if it's obvious, but I'm working in JavaScript and I would
 like to draw a div at each point. If I can get the relative position
 of a tile to the window, I can absolutely position a div relative to
 the tile's X/Y values in the window.

 On May 28, 6:05 am, John Coryat cor...@gmail.com wrote:







  You can convert a pixel coordinate into a latitude and longitude fairly
  easy. One thing you need to consider. All pixel coordinates are based on a
  particular zoom level. If all your pixel coordinates are assuming one static
  layer, you'll have to figure out what corresponding zoom that represents and
  calculate latitude and longitude based on that.

  Here's a Perl module with the tile math.

 http://www.usnaviguide.com/google-tiles.htm

  Hope that helps.

  -John Coryat

 http://maps.huge.info

 http://www.usnaviguide.com

 http://www.zipmaps.net

-- 
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] Placing marker at a pixel coordinate

2011-05-27 Thread Jason Kaczmarsky
Hi I'm trying to implement a marker system to display certain areas on my 
map. The map is an image of a game I play and I have important places saved 
in an XML document with the coordinates. I'm able to extract that data and I 
want to place a marker at those coordinates. I've been trying all day to do 
this by various methods (overlays and not using overlays) and nothing is 
working. The best I can do is get a marker at a (seemingly) random place 
that repeats every horizontal (but not vertical) tile it looks like. I 
looked up the problem on the forums and I've read thoroughly into this one: 
http://code.google.com/apis/maps/documentation/javascript/forum.html?place=topic%2Fgoogle-maps-js-api-v3%2FEs1niI2LaXQ%2Fdiscussion
.

Even with that I cannot figure it out.

In short:
I have numerous X,Y coordinates for places, how do I place them on the map 
like regular Google maps?

-- 
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] Time zone for a given geopoint

2011-05-05 Thread Jason
Hi there,

I've encountered a small issue in my code - given a users location (latlong) 
I cannot seem to find an api to plug into which will return the timezone of 
the user. Does anyone know of any such service (free is better)...

Cheers,
J

-- 
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] Rendering a map with MCV objects on a mobile phone

2011-05-04 Thread Jason
Hi there,

I'm attempting to replicate the functionality of the following example (
http://code.google.com/apis/maps/articles/mvcfun/step6.html) for use in a 
mobile phone, however it just doesn't work. The circular shape doesn't 
render and none of the markers can be clicked / dragged. Is there a 
particular api that should be used for mobile phones or is the javascript 
api just cut down a bit?

Cheers,
J

-- 
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: controlling the position of a marker with a textbox value

2011-04-23 Thread Jason
Apologies, the full radiuswidget code is included below.

How the map and markers should behave: 
http://code.google.com/apis/maps/articles/mvcfun/step6.html
How the map and markers behave when I change the small bit of code:  
http://test-psi-alpha.appspot.com/
*from *
this.set('distance',10);
*to*
var distancevar = document.getElementById('distancevar');
this.set('distance', distancevar);

The tricky thing is that I am not getting any relevant error reports from 
chrome developer tools - just the usual enable gzip etc.



function RadiusWidget() {
var circle = new google.maps.Circle({
strokeWeight: 2
});
// Set the distance property value, default to 50km.
var distancevar = document.getElementById('distancevar');
this.set('distance', distancevar);
//this.set('distance',10);
// Bind the RadiusWidget bounds property to the circle bounds property.
this.bindTo('bounds', circle);
// Bind the circle center to the RadiusWidget center property
circle.bindTo('center', this);
// Bind the circle map to the RadiusWidget map
circle.bindTo('map', this);
// Bind the circle radius property to the RadiusWidget radius property
circle.bindTo('radius', this);
// Add the sizer marker
this.addSizer_();
}

-- 
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: controlling the position of a marker with a textbox value

2011-04-23 Thread Jason
awesome! Works perfectly - thanks a million :)

-- 
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] controlling the position of a marker with a textbox value

2011-04-22 Thread Jason
Hi there,

I have been following a tutorial on google maps (
http://code.google.com/apis/maps/articles/mvcfun.html) which has a map that 
works like this ( 
http://code.google.com/apis/maps/articles/mvcfun/step6.html).

This is all fine. When I, however, attempt to control either the latitude, 
longitude, or distance of the circle by using getelementfromid - the radius 
widget breaks and I've got no idea why. This can be seen at 
http://test-psi-alpha.appspot.com/. At the moment I my python (app engine) 
script is writing a distance to a textbox which in turn should get called by 
the javascript getelementbyid bit and thus render a map with a circle widget 
with (in this case) a radius of 10:

*Python*
class MainHandler(webapp.RequestHandler):
def get(self):
args={}
args[latitude]=22
args[longitude]=22
args[distance]=10
doRender(self,'index.html', args)

def post(self):
args={}
latitude = self.request.get(latitude)
longitude = self.request.get(longitude)
distance = self.request.get(distance)
args[latitude]=latitude
args[longitude]=longitude
args[distance]=distance
doRender(self,'index.html', args)

*HTML*

  Latitude: input type=text id=latitude name=latitude 
value={{latitude}}
  Longitude: input type=text id=longitude name=longitude 
value={{longitude}}
  Distance: input type=text id=distancevar name=distancevar 
value={{distance}}

*
*
*Javascript *
the original line setting the distance of the circle was: 
this.set('distance',10); // this is what 
Which I changed to:
this.set('distance', distancevar);
this.set('distance',distancevar

This is a seemingly simple issue, but it's been bugging me for a couple of 
weeks now and I cannot seem to work around it. Any ideas would be very much 
appreciated.

-- 
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] 2011/4/14 - New Release

2011-04-15 Thread Jason Sanford
I've also got an application that uses the Distance Widget found in the Fun
with MVC Objects example that is no longer working. I know this isn't a
supported library, but I'm essentially just drawing a circle here. Website
below:

http://open-data-day.geojason.info/

On Fri, Apr 15, 2011 at 3:16 AM, Chris Broadfoot c...@google.com wrote:

 The awesome wayback machine can help here :)


 http://replay.waybackmachine.org/20101014235139/http://code.google.com/apis/maps/terms.html

 --
 http://twitter.com/broady

 --
 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: Polygons not rendering

2011-04-13 Thread Jason Sanford
I've got a demo that shows using Google's geometry library to measure
length/area which doesn't work any more. The geometry for the polygon is
still good, as the area measurements I'm getting are accurate, but polygon
is drawn. I'm actually drawing a line and a polygon and the line stops
drawing after 3 vertices, but continues returning valid length measurements.
Dropping to v3.3 fixes the issue, but I'm leaving it up in hopes to help
debug the problem.

http://demos.geojason.info/google-maps-api-v3-geometry-library.php

On Wed, Apr 13, 2011 at 4:52 PM, Adam adamcow...@gmail.com wrote:

 *Temp fix:*
 http://maps.google.com/maps/api/js?*v=3.3*sensor=true

 *Theory:*
 Polygons must have a border in 3.4.

 --
 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] jQuery .ajax map within div

2011-03-29 Thread Jason Gerfen
Whoops. http://cerberus.in-my-cloud.com/

Once the modules load click the 'sign up here' link. It uses .ajax to
load into a div which is where the map should be.

On Tue, Mar 29, 2011 at 1:54 AM, Chris Broadfoot c...@google.com wrote:
 As per forum guidelines, can you please post a link to your map?
 Chris
 --
 http://twitter.com/broady




-- 
Jas

-- 
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: tracking a user

2011-03-09 Thread Jason Sanford
http://code.google.com/apis/maps/documentation/javascript/reference.html#Marker

See .setPosition() in the methods section

On Wed, Mar 9, 2011 at 10:57 AM, fireofhellx homem...@aol.com wrote:

 yeh i need to change it so it moves the marker and not make a new one each
 time but im unsure how to do this

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


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



[Google Maps API v3] Re: 2011/3/2 - New Release

2011-03-08 Thread Jason Jonas
We're using a labeled marker. The labels stopped appearing until I set the 
version explicitly to 3.3. I'm not sure what the issue is, but if someone 
wants to check it out, here are a couple of links - one without the labels 
and one with:

http://spotwalla.com/label-marker-error.html

http://spotwalla.com/label-marker-no-error.html

I have no other issues with the new release, but this is pretty big issue 
for us. If someone can provide some information/direction on how to fix 
this, I'd appreciate it.

Thanks.

Jason

-- 
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] Parsing Geometry MySQL's Field

2011-02-28 Thread Jason Sanford
I'm not sure if mysql has the same st_asgeojson function as PostGIS but if
it does, I've been working on a utility to convert GeoJSON objects (Point,
LineString, Polygon) to Google Maps Vectors (Marker, Polyline, Polygon).
This way you'd be dealing with native JavaScript objects instead of parsing
a gigantic string.

https://github.com/JasonSanford/GeoJSON-to-Google-Maps

On Mon, Feb 28, 2011 at 4:51 PM, Chris Broadfoot c...@google.com wrote:

 Aha - perhaps some server-side processing would be good here.

 If you could return the geometry as an array of floats, that would cut out
 most of your parsing time in JS.

 I suggest you change your pipeline to:

 -  MySQL table with Geometry field (spatial extension)
 -  Query it, using AsText(geometry) function
 *-  Parse geometry into array of floats*
 -  Send it to javascript in json format
 -  Create an array of LatLng
 -  Using google.maps.Polyline

 If that doesn't help, there may be some more improvements possible, such as
 storing a json representation alongside the MySQL geometry upon write.

 Chris

 --
 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: GeoJSON multipolygon on google maps

2011-01-10 Thread Jason Sanford
I usually opt for drawing my map vectors via GeoJSON/google.maps.Polygon.
For me it offers more flexibility than KML or GeoRSS but it does slow things
down a lot when drawing hundreds of vectors.

Have you considered simplifying your geometry? I'm not sure what you're
using to push your GeoJSON but if you're using something like PostGIS you
could try:

st_asgeojson(transform(simplify(the_geom,1),4326))


In the case above the I'm simplifying with a tolerance of 1 (feet in my
case), You'd have to adjust this for your coordinate system's units.

If it's possible that not all of your polygons are within the current extent
you could always hide the ones that aren't visible with some sort of filter.
I'm not sure this extra overhead wouldn't slow down things even more though,
but probably worth a try.

Good luck.

On Sun, Jan 9, 2011 at 8:55 AM, Rossko ros...@culzean.clara.co.uk wrote:

 KML can contain styling information.
 KML can be dynamic through the use of NetworkLink and Refresh.
 You seem to have rejected KML because it lacks performance?I
 can't see why that should be the case but in the absence of any demo
 or detail of how you are using KML (KmlLayer? GeoXml3?) can't comment
 much further.

 --
 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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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: Tiling Issues on Apple iPod Touch (possibly iPhone also?)

2010-12-30 Thread Jason
Hi,

I'm experiencing the same issue on the iphone 3GS iOS 4.2 with
ImageMapType. Jumbled overlay tiles (and Google Tiles) after 30
seconds or so of zooming/panning. Everything works fine on a laptop.
If it is indeed the safari mobile cache limit has anyone figured out a
workaround?

Thanks,
Jason

On Dec 1, 4:55 pm, gavinharriss m...@gavinharriss.com wrote:
 Hi Andrew, thanks for that - much appreciated. Sounds like a solid
 explanation of what's going on. Now all I need to do is figure out if
 I can work-around the issue by somehow freeing map tiles from memory
 that are no longer in the viable area. Cheers :)

 Gregory - thanks for pointing out the use my location functionality
 outside the US issue. Hadn't occurred to me that this might happen.
 I'll code a fix up for this too. Thank you.

 On Dec 2, 10:02 am, Andrew Leach andrew.leac...@gmail.com wrote:

  On 1 December 2010 08:58, gavinharriss m...@gavinharriss.com wrote:

   I have a consistent issue withhttp://m.topomap.co.nz/whenusing
   custom tiles via google.maps.ImageMapType...

   The map behaves as expected at first but after a little while (usually
   30 secs or so) when zooming in and panning around tiles seem to stop
   loading, then they start to get muddled up (including the Google tiles
   themselves).

   Here's a screenshot:http://i56.tinypic.com/2ciehs7.png

   Anyone have any idea what the issue may be and how to resolve it?

  I think it's this 
  issue:http://groups.google.com/group/google-maps-js-api-v3/browse_thread/th...

  Safari on iDevices appears to run out of image cache space at 10MB.



-- 
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-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] Elevation API = Multi-Location Request

2010-10-09 Thread Jason Jonas
So given the usage limits of the Elevation API, I'm reworking the code
to issue a multi-location request. The elevation data is being stored
in a database so I need to reliably attribute each elevation response
to the appropriate coordinate. The issue is the submitted coords are
not the same as the returned coords. For instance, if I send the
coords:

-35.55589,108.23400

The API returns:

-35.5558900,108.234

Now this issue is easily resolved, but it would be nice if the API
returned the same coords it received or, preferably, allowed the
requester to tag each coordinate with an alphanumeric correlation key.
For instance,

-35.55589,108.23400,101|34.4,56.5,102

The correlation key for the first coord is 101 and the second is 102.
The key would allow the requester to easily and reliably attribute the
elevation response.

It does appear that the order of the coordinates sent matches the
order of the coordinates returned, but how reliable is this? Thanks.

Jason

-- 
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-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: Elevation API Usage Limits

2010-10-08 Thread Jason Jonas
Thanks, Luke. That's in line with the behavior we're seeing. We'll
make the necessary adjustments to the elevation component to work
within these parameters.

Jason

On Oct 7, 11:03 pm, Luke Mahé lu...@google.com wrote:
 Hey Jason,

 We have updated the docs to be clearer, you can read them again 
 here:http://code.google.com/apis/maps/documentation/elevation/#Limits

 In short you can do:
  2500 requests per day
  Each request can have a max of 1024 locations
  You can do a maximum of 25,000 locations per day.

 Hope this clears things up.

 -- Luke



 On Fri, Oct 8, 2010 at 5:14 AM, Jason Jonas spotwa...@gmail.com wrote:
  I posted this over in the V2 forum as well since that's where the
  Elevation API docs requested feedback. My apologies for the double-
  posting.

  Jason

  On Oct 7, 7:38 am, Jason Jonas spotwa...@gmail.com wrote:
   Not sure if this was clear in the original message, but each location
   request is a single-coordinate request.

   Jason

  --
  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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2B 
  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...@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] Elevation API Usage Limits

2010-10-07 Thread Jason Jonas
The elevation API documentation indicates non-premiere members have a
usage limit of 25,000 location requests per day. The docs also state
that each request can have no more than 2,500 locations.

With last night's upgrade we turned on an elevation component. It runs
every 10 minutes and makes up to 250 location requests before
quitting. Between each location request there's a 1-second pause. This
morning the logs are showing that we began receiving OVER_QUERY_LIMIT
errors after 2,500 location requests rather than 25,000 location
requests.

Have the usage limits of the elevation API changed?

Thanks.

Jason

-- 
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-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: Event Bug in main.js?

2010-10-07 Thread Jason Jonas
Thanks, Rossko. I'll look into that.

Jason

On Oct 6, 2:15 pm, Rossko ros...@culzean.clara.co.uk wrote:
  So I thought it might be the null MouseEvent and tried:
 http://spotwalla.com/event-03.html

 In this case, the inline code to trigger the event on 'map' is
 executed before the map itself has been initialised (as an onload
 function).
 If you fix the order of events there, you might also need to
 explicitly declare 'map' as global to get it to work in many browsers.

-- 
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-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: Elevation API Usage Limits

2010-10-07 Thread Jason Jonas
Not sure if this was clear in the original message, but each location
request is a single-coordinate request.

Jason

-- 
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-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: Elevation API Usage Limits

2010-10-07 Thread Jason Jonas
I posted this over in the V2 forum as well since that's where the
Elevation API docs requested feedback. My apologies for the double-
posting.

Jason

On Oct 7, 7:38 am, Jason Jonas spotwa...@gmail.com wrote:
 Not sure if this was clear in the original message, but each location
 request is a single-coordinate request.

 Jason

-- 
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-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: Event Bug in main.js?

2010-10-06 Thread Jason Jonas
Just bumping this up one time...

On Oct 4, 9:18 pm, Jason Jonas spotwa...@gmail.com wrote:
 After the page is loaded I'm trying to generate a click event so the
 map has the focus. In V2 we used:

 var event = {srcElement: map_canvas, target: map_canvas, nodeType: 1};
 GEvent.trigger(document, click, event);

 And it works perfectly. I made what seems like the appropriate v3
 substitutions in the following file:

 http://spotwalla.com/event-01.html

 There are no errors in either FireFox or Chrome, but it doesn't work.
 So I tried to generate a click event on the map itself using a null
 MouseEvent in the following file:

 http://spotwalla.com/event-02.html

 FireFox generates the following error:

 Error: a is undefined
 Source File:http://maps.gstatic.com/intl/en_us/mapfiles/api-3/2/7/main.js
 Line: 20

 Chrome generates the following error:

 Uncaught TypeError: Cannot read property '__e3_' of undefined
 U.Qc   main.js:20
 U.trigger main.js:21
 (anonymous function) event-02.html:112

 So I thought it might be the null MouseEvent and tried:

 http://spotwalla.com/event-03.html

 The same error is generated in both FireFox and Chrome. Not sure if
 this is a bug in v3 API or if it's something I've done incorrectly.
 Ideas? Thanks.

 Jason

-- 
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-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: Event Bug in main.js?

2010-10-06 Thread Jason Jonas
Hey, Eric.

I think I've tried everything, but what works. :) I can definitely
generate the click event by moving the event lines into the
addLoadEvent function at the end. No JS errors occur either. But while
the click event is generated, it doesn't result in the map having the
focus which is, ultimately, what's desired.

I'll continue to play with it and investigate. If I get it working,
I'll be sure and post the solution.

Jason

On Oct 6, 11:59 am, Eric Roberts ow...@threeravensconsulting.com
wrote:
 I have been getting the same error from essentially copying the code from
 one of the samples and only making minor changes to the code, like making
 the latlng dynamic...

 http://devint.meaningfulfunerals.net/fh/facilities/facilities/address...

 In FF I get a is null and the error is on line 25.  same js file.

 Eric



 On Wed, Oct 6, 2010 at 9:24 AM, Jason Jonas spotwa...@gmail.com wrote:
  Just bumping this up one time...

  On Oct 4, 9:18 pm, Jason Jonas spotwa...@gmail.com wrote:
   After the page is loaded I'm trying to generate a click event so the
   map has the focus. In V2 we used:

   var event = {srcElement: map_canvas, target: map_canvas, nodeType: 1};
   GEvent.trigger(document, click, event);

   And it works perfectly. I made what seems like the appropriate v3
   substitutions in the following file:

  http://spotwalla.com/event-01.html

   There are no errors in either FireFox or Chrome, but it doesn't work.
   So I tried to generate a click event on the map itself using a null
   MouseEvent in the following file:

  http://spotwalla.com/event-02.html

   FireFox generates the following error:

   Error: a is undefined
   Source File:
 http://maps.gstatic.com/intl/en_us/mapfiles/api-3/2/7/main.js
   Line: 20

   Chrome generates the following error:

   Uncaught TypeError: Cannot read property '__e3_' of undefined
   U.Qc   main.js:20
   U.trigger main.js:21
   (anonymous function) event-02.html:112

   So I thought it might be the null MouseEvent and tried:

  http://spotwalla.com/event-03.html

   The same error is generated in both FireFox and Chrome. Not sure if
   this is a bug in v3 API or if it's something I've done incorrectly.
   Ideas? Thanks.

   Jason

  --
  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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2B 
  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...@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: Any recommendations for a PHP Class to handle API calls for me?

2010-10-05 Thread Jason Jonas
James,

I know of no PHP library for making GMAPI requests, but then I never
looked for one either. :) Like you, I'm not johnny-javascript and
essentially employ the learn-by-hacking method.

Working with the geocoder in PHP is quite simple. At SpotWalla our
geoCoder is a cron-managed PHP script that utilizes curl and
json_decode. Once that's complete, you have an object that can be
easily manipulated. Here's a little snippet:

$req = curl_init();
curl_setopt(
$req,
CURLOPT_URL,
http://maps.google.com/maps/api/geocode/json?
sensor=truelatlng=$latitude,$longitude);
curl_setopt($req, CURLOPT_RETURNTRANSFER, 1);
$resp = curl_exec($req);
curl_close($req);
$o = json_decode($resp);

You can also ask the geocoder for XML output instead of JSON and use
simplexml_load_string instead of json_decode. Alternatively, you can
use simplexml_load_file with the URL, but I've found it to be a little
slower than curl. Geo Coding and coordinate caching can be done
outside of writing JavaScript.

Not sure about directions and such as I've never done anything with
that.

Jason

On Oct 4, 6:47 pm, James wpcustomi...@gmail.com wrote:
 any ideas?

 On Oct 1, 5:56 pm, James wpcustomi...@gmail.com wrote:



  I am not a javascript developer, I am a PHP developer and so I wanted
  to know if anyone could recommend a good PHP class to handle the API
  calls for me to google maps.  The specifics of what I need to do is:

  Geocode addresses and have the coordinates avalible for me to cache in
  a mysql database.

  Ask the user for their address and provide them directions from their
  address to a given set of cached coordinates.

  Display a map for all of this, also have a failsafe for users without
  javascript enables, such as static maps, server-side api calls, ect.

  Can anyone recommend such a php class, 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 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] Copyright - Magazine Article

2010-10-05 Thread Jason Jonas
Not sure if this is the correct place to post this...

I'm writing a magazine article about personal location management and
would like to include a few map images. All Google and Google partner
logos will remain on the images. I perused the terms (http://
code.google.com/apis/maps/terms.html) and got a headache after section
2. :) Can someone tell me if this is cool or not or let me know where
I should submit this question?

Thanks.

Jason

-- 
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-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: Copyright - Magazine Article

2010-10-05 Thread Jason Jonas
Thanks, Luke. That should answer all the questions.

Jason

On Oct 5, 10:09 pm, Luke Mahé lu...@google.com wrote:
 Hey Jason,

 Have a read ofhttp://www.google.com/permissions/geoguidelines.htmland see
 if that satisfies your concerns.

 Thanks

 -- Luke



 On Wed, Oct 6, 2010 at 1:54 PM, Jason Jonas spotwa...@gmail.com wrote:
  Not sure if this is the correct place to post this...

  I'm writing a magazine article about personal location management and
  would like to include a few map images. All Google and Google partner
  logos will remain on the images. I perused the terms (http://
  code.google.com/apis/maps/terms.html) and got a headache after section
  2. :) Can someone tell me if this is cool or not or let me know where
  I should submit this question?

  Thanks.

  Jason

  --
  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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2B 
  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...@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] Event Bug in main.js?

2010-10-04 Thread Jason Jonas
After the page is loaded I'm trying to generate a click event so the
map has the focus. In V2 we used:

var event = {srcElement: map_canvas, target: map_canvas, nodeType: 1};
GEvent.trigger(document, click, event);

And it works perfectly. I made what seems like the appropriate v3
substitutions in the following file:

http://spotwalla.com/event-01.html

There are no errors in either FireFox or Chrome, but it doesn't work.
So I tried to generate a click event on the map itself using a null
MouseEvent in the following file:

http://spotwalla.com/event-02.html

FireFox generates the following error:

Error: a is undefined
Source File: http://maps.gstatic.com/intl/en_us/mapfiles/api-3/2/7/main.js
Line: 20

Chrome generates the following error:

Uncaught TypeError: Cannot read property '__e3_' of undefined
U.Qc   main.js:20
U.trigger main.js:21
(anonymous function) event-02.html:112

So I thought it might be the null MouseEvent and tried:

http://spotwalla.com/event-03.html

The same error is generated in both FireFox and Chrome. Not sure if
this is a bug in v3 API or if it's something I've done incorrectly.
Ideas? Thanks.

Jason

-- 
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-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] 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:

   - Visit http://gisapps.co.union.nc.us/community-mapper/
   - Search for a parcel with a valid street view. Try 2010 Holly Villa
   Cir
   - Click the pegman in the results section (left side of page)

You should see a nice street view, centered where I want it, but no pegman
appears. Then switch to a Google basemap and he appears.

Anybody have an ideas?

-- 
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-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] 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. Try 2010 Holly Villa Cir

On Tue, Sep 28, 2010 at 3:31 PM, Nathan Raley nlrale...@gmail.com wrote:

 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 clicking the pegman in your panel to the left.


 On Tue, Sep 28, 2010 at 2:26 PM, Nathan Raley nlrale...@gmail.com wrote:

 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
 you finish dragging for me on my end.

 Using Chrome.


 On Tue, Sep 28, 2010 at 1:27 PM, Jason Sanford jasonsanf...@gmail.comwrote:

 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:

- Visit http://gisapps.co.union.nc.us/community-mapper/
- Search for a parcel with a valid street view. Try 2010 Holly Villa
Cir
- Click the pegman in the results section (left side of page)

 You should see a nice street view, centered where I want it, but no
 pegman appears. Then switch to a Google basemap and he appears.

 Anybody have an ideas?

 --
 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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-maps-js-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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] Firing a Cick Event

2010-09-22 Thread Jason Jonas
I have a number of users that prefer to use the keyboard to navigate
the map. After the map is loaded I've used the following v2 code to
generate a click event so the map has the focus:

var event = {srcElement: map_canvas, target: map_canvas, nodeType: 1};
GEvent.trigger(document, click, event);

After reading through the v3 event info, it seemed simple enough to
change it to:

var event = {srcElement: map_canvas, target: map_canvas, nodeType: 1};
google.maps.event.trigger(document, click, event);

No dice. So I kept reading and found that the click event on a map has
a MouseEvent argument. So I tried:

var event = new google.maps.event.MouseEvent(new
google.maps.LatLng(0,0));
google.maps.event.trigger(map, click, event);

No dice. I tried a few other things to no avail. The page is:

http://spotwalla.com/v32.php

Any help is appreciated. Thanks.

Jason

-- 
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-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: Firing a Cick Event

2010-09-22 Thread Jason Jonas
On Sep 22, 8:53 am, geocode...@gmail.com geocode...@gmail.com
wrote:

 Did you try:
 javascript:google.maps.event.trigger(mCR, click);
 (entering that in the address bar opens an infowindow for me (on the
 mCR marker)).


Hey, Larry.

Thanks for taking a look.

I just tried that and it certainly opens the InfoWindow associated
with the marker, but the map still doesn't have focus until I
physically click inside the map.

Jason

-- 
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-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: Firing a Cick Event

2010-09-22 Thread Jason Jonas
On Sep 22, 9:17 am, geocode...@gmail.com geocode...@gmail.com
wrote:

 That is a different question.  I think there have been some
 discussions of how to do that on the v2 group (I don't remember seeing
 any here).  You might try searching over there, the concepts should
 apply.


Hmmm... In my original post I mentioned that I know how to accomplish
this in v2 and how I made what I thought were the right changes for
v3. I may not be following you, though. Are you talking about
something different?

Jason

-- 
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-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] IE 8 Bug?

2010-09-21 Thread Jason Jonas
I started porting my app to v3 and have run into an issue with IE 8.
This page works on the latest versions of FF, Safari, Chrome and IE 7.

http://spotwalla.com/v3.php

Honestly, I'm not johnny-JavaScript and I'm not sure if the issue is
within the MarkerWithLabel class or in main.js. I looked at the
suspect lines, but nothing looked like an issue. I've searched for
similar issues and while IE 8 appears to have some issues, I wasn't
able to find anything similar.

FWIW, the error details copied from IE 8 are below. The port was going
*very* smoothly until I began testing the IE line. Any and all help/
insight is appreciated. Thanks.

Jason

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64;
x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET
CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
Timestamp: Tue, 21 Sep 2010 16:55:14 UTC

Message: Invalid argument.
Line: 328
Char: 5
Code: 0
URI: http://spotwalla.com/include/MarkerWithLabel.js

Message: Invalid argument.
Line: 28
Char: 789
Code: 0
URI: http://maps.gstatic.com/intl/en_us/mapfiles/api-3/2/5a/main.js

-- 
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-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: Clickeable Custom Icon

2010-09-21 Thread Jason Jonas
Sounds like you're looking for an InfoWindow, perhaps. When it's setup
correctly, the InfoWindow will appear when a user clicks on the
marker. The content of the InfoWindow is completely up to you.

http://code.google.com/apis/maps/documentation/javascript/reference.html#InfoWindow

Jason

On Sep 21, 11:18 am, mraclarke adeclarke...@googlemail.com wrote:
 Hello

 I am playing around with Google Maps, trying to test it out before
 putting it onto our website. I have successfully added a custom icon
 on to my example, and I want to put a link onto it so that it can then
 automatically show directions to this point.


-- 
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-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: IE 8 Bug?

2010-09-21 Thread Jason Jonas
So I'm not sure why, but this will make sense to someone who
investigates the issue.

While trying to debug the script it was failing around the zIndex
logic between the marker and label div. I was calling
MarkerWithLabel.setZIndex to give priority to certain marker types. I
removed the setZIndex calls and used the zIndex property instead and
it now works in IE8.

This page fails in IE8:

http://spotwalla.com/v3.php

And these work:

http://spotwalla.com/v32.php
http://spotwalla.com/v31.php
http://spotwalla.com/v30.php

These pages will not be available after the next production upgrade
which is currently scheduled for the 1st or 2nd week of October.

Jason

On Sep 21, 12:03 pm, Jason Jonas spotwa...@gmail.com wrote:
 I started porting my app to v3 and have run into an issue with IE 8.
 This page works on the latest versions of FF, Safari, Chrome and IE 7.

 http://spotwalla.com/v3.php

 Honestly, I'm not johnny-JavaScript and I'm not sure if the issue is
 within the MarkerWithLabel class or in main.js. I looked at the
 suspect lines, but nothing looked like an issue. I've searched for
 similar issues and while IE 8 appears to have some issues, I wasn't
 able to find anything similar.

 FWIW, the error details copied from IE 8 are below. The port was going
 *very* smoothly until I began testing the IE line. Any and all help/
 insight is appreciated. Thanks.

 Jason

 User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64;
 x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET
 CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
 Timestamp: Tue, 21 Sep 2010 16:55:14 UTC

 Message: Invalid argument.
 Line: 328
 Char: 5
 Code: 0
 URI:http://spotwalla.com/include/MarkerWithLabel.js

 Message: Invalid argument.
 Line: 28
 Char: 789
 Code: 0
 URI:http://maps.gstatic.com/intl/en_us/mapfiles/api-3/2/5a/main.js

-- 
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-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] Highlight distance along route

2010-08-21 Thread Jason
I've been working on creating an application that stores mileage and
displays progress along a Google Maps route. I have a basic map up and
working, with start/end/waypoints set with driving directions
connecting them. What I want to be able to do is take a number of
miles and display where the user is at along this route. Is there a
way to do this using the Google Maps API?

I've been searching around for some time, but either this is an
uncommon problem or I'm not using the right search terms. I came
across some examples using polygon lines instead of actual directions
(e.g. 
http://stackoverflow.com/questions/2698112/how-to-add-markers-on-google-maps-polylines-based-on-distance-along-the-line)
but they seem to either focus on polygons and/or utilize version 2 of
the Maps API.

Any solutions or pointers in the right directly would be most
appreciated.

-- 
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-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: Show/Hide Overlays

2010-07-21 Thread Jason Sanford
I had a similar problem and posted about how I dealt with it here:
http://geojason.info/2010/05/overlay-map-management-with-google-maps-api-v3/

Basically what I'm doing is inserting a null value for every overlay I plan
on adding to the map into the map.overlayMapTypes array and then creating a
new imageMapType when a check box is clicked.

http://geojason.info/2010/05/overlay-map-management-with-google-maps-api-v3/Probably
not the most elegant solution, but it seems to work.


On Wed, Jul 21, 2010 at 8:47 AM, Kesuke nick_dai...@hotmail.com wrote:

 Thanks for the suggestions, however I'm having two major problems with
 this approach;

 1.) It works the first time its clicked, but I think its trying to
 insertAt or removeAt where objects have already been removed. I'm
 wondering if when an element is 'removeAt', everything moves down the
 MCV array. e.g. index 3 becomes 2.

 2.) Because this involves multiple transparent layers being stacked
 ontop of each other, it leads to unusual z-index issues where layers
 end up in the wrong order. You can see this on the example below when
 you click Pectoralis major twice (to hide, then again to show). It
 will appear behind the intercostal layer.

 I've setup a test to show the strange behaviour of this approach at
 http://anatomy.study-medicine.co.uk/testg3t3.html (you can see the
 code changes on line 298)

 --
 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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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: Show/Hide Overlays

2010-07-21 Thread Jason Sanford
I threw together some code very quickly so it's likely to be buggy but check
out the slightly modified version of the sample I linked to earlier.

http://demos.geojason.info/anatomy.php

What I did was add three additional check boxes that have an id with two (or
more) layers instead of one. The ids are separated by commas so that we can
split them apart and add/remove the layer as needed. This might help you?

The code might be a little confusing if you're not familiar with jQuery but
it's pretty self explanatory. Let me know if I need to explain further.

On Wed, Jul 21, 2010 at 8:28 PM, Kesuke nick_dai...@hotmail.com wrote:

 Thanks Jason, that works for some situations. But I have a problem;

 There are some specific situations where toggling a single checkbox
 needs to show/hide more than one layer (because there are a few
 situations where an individual object like a muscle actually has to be
 made from two layers so that a third layer can travel between them to
 make it look diagramatically correct).

 Any ideas how I might apply this?

 It would be so great if a show() hide() feature were added. I realise
 keeping the API lightweight is a major consideration in V3, but I
 suspect at the level this would be implemented, any developer would be
 well aware of the need to keep things light and tidy.



 On Jul 21, 7:23 pm, Jason Sanford jasonsanf...@gmail.com wrote:
  I had a similar problem and posted about how I dealt with it here:
 http://geojason.info/2010/05/overlay-map-management-with-google-maps-...
 
  Basically what I'm doing is inserting a null value for every overlay I
 plan
  on adding to the map into the map.overlayMapTypes array and then creating
 a
  new imageMapType when a check box is clicked.
 
  http://geojason.info/2010/05/overlay-map-management-with-google-maps-..
 .Probably
  not the most elegant solution, but it seems to work.
 
 
 
  On Wed, Jul 21, 2010 at 8:47 AM, Kesuke nick_dai...@hotmail.com wrote:
   Thanks for the suggestions, however I'm having two major problems with
   this approach;
 
   1.) It works the first time its clicked, but I think its trying to
   insertAt or removeAt where objects have already been removed. I'm
   wondering if when an element is 'removeAt', everything moves down the
   MCV array. e.g. index 3 becomes 2.
 
   2.) Because this involves multiple transparent layers being stacked
   ontop of each other, it leads to unusual z-index issues where layers
   end up in the wrong order. You can see this on the example below when
   you click Pectoralis major twice (to hide, then again to show). It
   will appear behind the intercostal layer.
 
   I've setup a test to show the strange behaviour of this approach at
  http://anatomy.study-medicine.co.uk/testg3t3.html(youhttp://anatomy.study-medicine.co.uk/testg3t3.html%28youcan
   see the
   code changes on line 298)
 
   --
   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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@googlegroups.com
 google-maps-js-api-v3%2b­unsubscr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-maps-js-api-v3?hl=en.- Hide
 quoted text -
 
  - Show quoted text -

 --
 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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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: kmllayer behavior on iphone

2010-07-18 Thread Jason
Thanks for taking a look.

As of yesterday, 3GS with the new OS 4.0.1.

I wonder if that is the problem?..I was hoping the code was wrong at
least that's an easier fix.

On Jul 17, 10:27 pm, William william.g...@gmail.com wrote:
 On Jul 17, 7:43 am, Jason jason.wool...@gmail.com wrote:



 http://ngs.woc.noaa.gov/storms/nov09_ne/ge/2010dev/beta2.html

 the infowindows on this map display the same on my iPhone (3GS v3.1.3)
 as they do on the desktop.  What version of iPhone are you using?

 ...

-- 
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-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] kmllayer behavior on iphone

2010-07-16 Thread Jason
hi all,

I've been working with some of the demo code examples using the
kmllayer class and I have some things working fine in a browser (FF,
Safari), however, using safari on the iphone I'm mostly unable to
get the info window/balloons to pop-up.

Is there an issue using kmllayer on the iphone or other mobile
devices?

Here is a sample:

http://ngs.woc.noaa.gov/storms/nov09_ne/ge/2010dev/beta2.html

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
Google Maps JavaScript API v3 group.
To post to this group, send email to google-maps-js-api...@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] Marker Icon invisible when specifying a URL that doesn't end in .png

2010-06-19 Thread Jason Feinstein
I've got a situation where I need to dynamically generate marker icon
images, I'm doing so with a php script using ImageMagick and
outputting a valid HTTP Response for the png image that's created (has
content-type of image/png).

For some reason the maps API won't render the icon if the URL I
specify doesn't end with .png (the URL obviously ends with .php).

This seems like a bug to me...

-- 
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-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: Clicking polygons trigger map click event

2010-06-17 Thread Jason Sanford
I solved this problem by temporarily removing the map's 'click' event on
polygon 'mousedown' and then re-creating it on polygon 'mouseup'.
A little documentation can be found here:
http://geojason.info/2010/04/map-and-polygon-click-events-google-maps-api/

On Thu, Jun 17, 2010 at 7:35 AM, Rossko ros...@culzean.clara.co.uk wrote:

  google.maps.Polygon.prototype.getBounds = function(){
  var bounds = new google.maps.LatLngBounds;
  this.getPath().forEach(function(latLng){
  bounds.extend(latLng);
  });
 
  return bounds;
  };

 Bounds is not the same as a polygon.  Using that function, it is
 possible to click close to, but not inside, a polygon ... and yet be
 inside the bounds.

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



[Google Maps API v3] Map Type ID Text

2010-06-15 Thread Jason Sanford
Is there an easy way to change the default text for the default map types
(Map,Terrain,Satellite,Hybrid)? I ask because I'm using a custom
imageMapType by default and want to make sure users which maps are Google's
and which are mine. Essentially I want to change Map to Google Basemap,
Terrain to Google Terrain, etc. I know I can use whatever text I want
when I create a new imageMapType but I'd rather just change what's there
than recreate all of Google's imageMapTypes just to change the button text.

-- 
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-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: How can a MVCArray be cleared?

2010-06-15 Thread Jason Sanford
Just a quick guess but would this work:

myMvcArray.forEach(function(item,index){
  myMvcArray.removeAt(index);
});

If not how about:

for (i=0;imyMvcArray.getLength();i++){
  myMvcArray.removeAt(i);
}

I don't know if these work but glancing at the docs (
http://code.google.com/apis/maps/documentation/javascript/reference.html#MVCArray)
that's what I would guess.

On Tue, Jun 15, 2010 at 12:29 PM, Pil wolf...@gmail.com wrote:



 On Jun 15, 6:05 pm, Nathan Raley nlrale...@gmail.com wrote:
  Did you try points = [];?

 Yes, this doesn't work when I say

 poly.setPath(points);

 i.e. no polyline will appear. When I use a MVCArray all works well.
 The MVCArray should be shared alternately between a Polyline and a
 Polygon. This all works well - but I found no way to set the elements
 of the MVCArray to 0.

 --
 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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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] 2010/06/11: New Release

2010-06-11 Thread Jason Sanford
All of the issues I noticed with IE7/IE8 and Street View seem to be fixed.
The only thing I notice is that in Firefox/Chrome a line is visible
representing the road as well as the two arrows which link to the
previous/next street view. IE7 seems to be missing this line. Not a show
stopper though as street view is still functional.

Thanks for fixing these issues. A project I've had in development for a
while now can move to production.

On Fri, Jun 11, 2010 at 12:43 AM, Luke (Google Employee)
lu...@google.comwrote:

 Hey everyone!

 We've recently pushed out a new version of the API.  See the list of
 changes below:
 http://code.google.com/p/gmaps-api-issues/wiki/JavascriptMapsAPIv3Changelog

 Changed Issues:
 - Issue 2389: Street View doesn't work in IE7

 Noticeable changes:
 - Fixed marker memory leak
 - First geocode latency has been improved
 - Provided access to the StreetViewService

 Please test and provide feedback.

 Thanks!

 - Luke

 --
 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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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] FYI: Just updated version 3.1 (2010/06/02)

2010-06-03 Thread Jason Sanford
I reported a bug a few days back about some strange image sprite flashing
when using street view in IE 7,8. The image sprite flashing issue seems to
have been fixed on the map display, it still shows the entire sprite when
entering street view in IE 7 and 8, at least on the site I'm developing.
Have any suggestions?

http://gisapps.co.union.nc.us/community-mapper-dev/

On Wed, Jun 2, 2010 at 1:26 AM, Ben Appleton apple...@google.com wrote:

 We have just updated version 3.1 of the JS v3 API. If there are no
 major issues, we will make a full announcement of this release in
 24-48 hours. Please report in the group if you see any regression
 issues.

 Note that version 3.0 has not changed.

 Thanks,
 Ben

 --
 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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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: How to capture a json Web Service Request to a variable

2010-05-28 Thread Jason Sanford
It looks like the data returned is an object and not an array. so when you
say for (var i=0; i  data.length; i++) { there is no length property of
the data object. Instead you should try for (var i=0; i 
data.results.length; i++) { which is, I assume, an array of potential
geocoding results.

Also, it looks like you're declaring your lat and lng variables inside a
loop. If you do it this way they won't be accessible outside of the loop.
Try declaring lat and lng outside of the loop and setting them inside.
Kind of like this:
script
var lat; //Declare here
var lng;
function parseMarkerList(data) {
 for (var i=0; i  data.length; i++) {
   lat = data[i].Latitude; // Where Latitude is the node name //Set here
   lng = data[i].Longitude; // Where Longitude is the node name
   //createMarker(lat, lng);
   }
}
/script

On Fri, May 28, 2010 at 10:59 AM, Ron Calzone r...@mofirst.org wrote:

 Pete,

 Thank you for your kind answer and patience with my ignorance of the finer
 aspects of Javascript!

 I have spent several hours trying to work this out and am getting nowhere.
  I have a time-sensitive project, so I need to ask for more help.

 Why doesn't the following work?  Is it necessary to specify another page
 for the return json, or can a script on the same page process it?

 Thanks!!!

 - Ron


 !DOCTYPE html
 html
 head
 styleimg{ height: 100px; float: left; }/style
 script src=http://code.jquery.com/jquery-latest.min.js;/script
 script
 $(document).ready(function() {
$.getJSON(
 http://maps.google.com/maps/api/geocode/json?address=201+W+Capitol+Ave,+Jefferson+City,+MO,+651011sensor=false;,
 function(data) {
  parseMarkerList(data); //data = JSON returned
  alert(data);
});
 });
 /script

 script
 function parseMarkerList(data) {
  for (var i=0; i  data.length; i++) {
var lat = data[i].Latitude; // Where Latitude is the node name
var lng = data[i].Longitude; // Where Longitude is the node name
//createMarker(lat, lng);
}
 }
 /script
 /head

 body
 script
 alert(Lat:  + lat +Lng:  + lng);
 /script


 /body
 /html


 On 5/27/2010 6:23 PM, pete wrote:

 Hi there,

 Whilst capturing a web service request and parsing it's data is not a
 Google Maps API related question, I'll attempt to answer as best as
 possible for your current query.

 Firstly, using a framework like JQuery makes this task extremely
 simple, with their $.getJSON method. For documentation see:
 http://api.jquery.com/jQuery.getJSON/

 You can then write some code to fetch the feed, and store it in a
 data variable

 $(document).ready(function() {
 $.getJSON(http://localhost/myService.aspx, function(data) {
 parseMarkerList(data); //data = JSON returned
 });
 });

 Your parseMarkerList(data) function can then loop through the JSON
 returned, and pull out nodes such as Latitude, Longitude etc,
 something such as:

 function parseMarkerList(data) {
 for (var i=0; i  data.length; i++) {
 var lat = data[i].Latitude; // Where Latitude is the node name
 var lng = data[i].Longitude; // Where Longitudeis the node
 name
 createMarker(lat, lng);
 }
 }

 The createMarker function can then be a simple function that drops
 markers on the map, see:

 http://code.google.com/apis/maps/documentation/javascript/examples/marker-simple.html

 Hope this has helped you.
 The key is passing your data object from the request's response, to
 the function that will iterate through the feed.
 Using this technique you can drop hundreds of markers with no
 additional code.

 Cheers
 Pete


 On May 28, 8:22 am, ron1776r...@mofirst.org  wrote:


 I can't find documentation on how to capture the reply from Web
 Service Request.

 We want to set the json return array to a variable so we can parse the
 map data we need to then build the cost to make a map.

 Ideas?

 - Ron





 --

 *
 Ron Calzone
 Director, Missouri First, Inc.
 mailto:r...@mofirst.org
 Web URL http://www.mofirst.org
 *

 --
 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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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 add WMS layer to existing Gmap

2010-05-27 Thread Jason
If you happen to be using GeoServer/GeoWebCache to serve up your own
WMS services they have built a great Google Maps service to hand out
the proper images (http://geowebcache.org/docs/current/services/
gmaps.html). I set up a demo here: 
http://demos.geojason.info/google-maps-geowebcache-demo.php

On May 27, 9:26 pm, William william.g...@gmail.com wrote:
 As a hack the following map fixes the white lines for zoom 2 to 5:

 http://www.william-map.com/20100526/2/tilefix2_5.htm

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

2010-05-10 Thread Jason Sanford
Declare richmondTraffic (and any other KmlLayer) outside of any functions
like where you declare initialLocation, statepolice, etc.

On Mon, May 10, 2010 at 7:06 PM, Jack Berberette spin...@gmail.com wrote:

 Thanks ESA for the quick response.  The function looks simple enoug but how
 do I set a variable in global scope...ie RichmondTraffic...based on the code
 I have?   Sorry to be such a newb...but I don't want to break what I
 have...lol

 I can't thank you enough for helping me out,

 Jack



 Sent from my iPhone


 On May 10, 2010, at 6:25 PM, Esa esa.ilm...@gmail.com wrote:

  Construct a toggle function in global scope

 function toggleLayer(layer) {
   if (layer.getMap()) {
 layer.setMap(null);
   } else {
 layer.setMap(map);
   }
  }

 Then you can create buttons like:

 button onclick=toggleLayer(RichmondTraffic) RichmondTraffic /
 button

 Note that also RichmondTraffic must be a global variable when called
 by a html button.

 --
 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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-maps-js-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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]

2010-05-10 Thread Jason Sanford
I copy and pasted your code and made some changes to it. I'm still having
issues with your traffic layer acting weird when toggling it but the other
two layers toggle fine.

http://test.geojason.info/viper.html

You can see the code there and compare to yours.

On Mon, May 10, 2010 at 8:45 PM, Jack Berberette spin...@gmail.com wrote:

 Thanks for taking your time in this Brad :)  I have implemented the changes
 but I must something wrong because the map area is just grey now.  Here's
 the link to the page: http://www.gamecarver.com/viperapp3.html

 Here's the link to a page that has the maps on:
 http://www.gamecarver.com/viperapp2.html (this was my first attempt)

 Here's the code after the changesI'm really sorry to be a burden:

 html
 head
 meta name=viewport content=initial-scale=1.0, user-scalable=no /
 meta http-equiv=content-type content=text/html; charset=UTF-8/
 titleVIPER Traffic and Hazmat LIVE/title
 script type=text/javascript src=
 http://maps.google.com/maps/api/js?sensor=true;/script
 script type=text/javascript
 var initialLocation;
 var statepolice = new google.maps.LatLng(37.502168, -77.542212);
 var Hazmat;
 var RichmondTraffic;
 var StateShelters;
 var trafficLayer;
 var map;

 function toggleLayer(layer) {
if (layer.getMap()) {
  layer.setMap(null);
} else {
  layer.setMap(map);
}
  }


 function initialize() {
   var myOptions = {
 zoom: 14,
 mapTypeId: google.maps.MapTypeId.ROADMAP
   };
   var map = new google.maps.Map(document.getElementById(map_canvas),
 myOptions);
   var map = new google.maps.KmlLayer('
 https://cop.vdem.virginia.gov/gis_feeds/GeoRSS2.ashx'https://cop.vdem.virginia.gov/gis_feeds/GeoRSS2.ashx%27
 );
   Hazmat.setMap(map);
   var map = new google.maps.KmlLayer('
 http://map.richmondgov.com/Bing/Traffic/georssfeed.ashx'http://map.richmondgov.com/Bing/Traffic/georssfeed.ashx%27
 );
   RichmondTraffic.setMap(map);
   var map = new google.maps.KmlLayer('
 https://cop.vdem.virginia.gov/gis_feeds/ShelterGeoRSS.ashx'https://cop.vdem.virginia.gov/gis_feeds/ShelterGeoRSS.ashx%27
 );
   StateShelters.setMap(map);
   var map = new google.maps.TrafficLayer();
   trafficLayer.setMap(map);

   // Safari supports the W3C Geolocation method
   if(navigator.geolocation) {
 navigator.geolocation.getCurrentPosition(function(position) {
   initialLocation = new
 google.maps.LatLng(position.coords.latitude,position.coords.longitude);
   var placeMarker = new google.maps.Marker({
 position: initialLocation,
 map: map,
   });
   map.setCenter(initialLocation);
 }, function() {
   handleNoGeolocation(browserSupportFlag);
 });
   } else {
 // Browser doesn't support Geolocation
 handleNoGeolocation();
   }

   function handleNoGeolocation() {
 initialLocation = statepolice;
 map.setCenter(initialLocation);
   }

 }





 /script
 style
 DIV.container {
 width: 100%;
 height: 50px;
 align: center;
 background-image: url(
 http://www.gamecarver.com/img/appimages/DivHeaderBG2.png);
  // display: table-cell;
 vertical-align: middle;
 font-size:medium;
  font-family: sans-serif;
 color: white;
 text-align: center;
  font-weight: bold;
 }
 /style
 /head
 body style=margin:0px; padding:0px; onload=initialize()
   div style=width:100%; height:385px
   div class=container img src=
 http://www.gamecarver.com/img/appimages/Header1.png;/div
   div id=map_canvas style=width:100%; height:100%/div
   div style=background-image: url(
 http://www.gamecarver.com/img/appimages/DivHeaderBG2.png); height: 25px;
 width: 100%
   button onclick=javascript:toggleLayer(RichmondTraffic) Traffic
 Incodents /button
 button onclick=toggleLayer(Hazmat) Hazmat /button
 button onclick=toggleLayer(trafficLayer) Google Traffic /button
 /div
   /div
 /body
 /html

 On Mon, May 10, 2010 at 8:31 PM, Brad b...@mycnl.com wrote:

 #1) Remove the function toggleLayer definition that you have inside of
 initialize function, you only need it defined once, outside of the
 init function.
 #2)remove references to var inside of the init function.  Even
 though you did the right thing by defining those variables outside of
 the function, when you put var in the function again, it is
 redefining a locally scoped variable with the same name.  By removing
 var inside of the init function on variables that were already
 defined, you are keeping them in global scope.
 #3)Add var map; to where you are initting the other variables, you
 will need the map in global scope in order for the toggleLayer
 function to work correctly.




 On May 10, 6:16 pm, Jack Berberette spin...@gmail.com wrote:
  Thanks for the response Jason,
 
  I just gave it a try but the toggle doesn't work.  Her's the code did I
 mess
  up setting the variables?  Also I'm not sure if I set the toggleLayer
 code
  in the right spot:
 
  function toggleLayer(layer) {
 if (layer.getMap()) {
   layer.setMap(null);
 } else {
   layer.setMap(map

[Google Maps API v3] Rendering directions location name vs geocode

2010-05-06 Thread Jason
When rendering directions I want to be able to print the location name
instead of the geocode at the beginning and end of the directions. For
example instead of displaying the latitude and longitude when I render
directions I want to display Hilton Hotel and The Keg. Similarly, when
the user clicks on the departure and destination markers on the map I
would like the message bubble to display the location name instead of
the geocode.

-- 
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-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: How can I set the zoom level based on distance?

2010-04-25 Thread Jason Sanford
Good to know that Esa, Thanks!

On Sat, Apr 24, 2010 at 7:36 AM, Esa esa.ilm...@gmail.com wrote:



 On Apr 23, 3:46 am, Jason Sanford jasonsanf...@gmail.com wrote:
  Hi TND
  What you could do is create a circle (google.maps.Circrle) with a radius
 of
  20,25,50 miles with a transparent fill and stroke (unless you want them
 to
  see the circle) then tell the map to .fitBounds to the circle's
 .getBounds

 We have exactly the same idea! My posting just appeared first though
 you have posted more than an hour before.

 I would like to underline that you don't have to add the circle on map
 if you don't like to. getBounds() is working if the circle is on map
 or not.

 To make sure I made a test page:
 http://koti.mbnet.fi/ojalesa/v3/circleAndBounds.htm

 --
 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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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] error with GBrowserisCompatible

2010-04-25 Thread Jason Sanford
Adam
It looks like you're using API v2 code with the API v3.  The Google Maps API
v2 had a LOT of global variables (GBrowserIsCompatible, GMap2, GMarker,
etc).  At v3 everything involved with maps is in the google.maps.*
namespace.  For example what was GMarker at v2 is now google.maps.Marker.
You will have to make some code changes for your page to work but it's
nothing a little find and replace can't fix.

I hope that helps
Jason

On Sun, Apr 25, 2010 at 4:40 AM, Adam Chapman 
adamchapman1...@googlemail.com wrote:

 Hi,

 've recently tried to change my page to employ v3 of the google maps
 API (was previously v2),  and im getting an object expected error on
 the line:

 if (GBrowserIsCompatible()) {

 this is line 21 and the link to my page is
 http://busplanner.mywebcommunity.org/mymapoptimisedroute.html .

 I thought it might be because I was forcing IE8 into emulation mode
 due to some errors attached to v2 of the API.

 Does anyone have a solution to this problem?

 Any help is greatly appreciated

 --
 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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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] How can I set the zoom level based on distance?

2010-04-23 Thread Jason Sanford
Hi TND
What you could do is create a circle (google.maps.Circrle) with a radius of
20,25,50 miles with a transparent fill and stroke (unless you want them to
see the circle) then tell the map to .fitBounds to the circle's .getBounds
method like so:

var myLatLng = new google.maps.LatLng(35.265,-80.326);
var circleOptions = {
center: myLatLng,
fillOpacity: 0,
strokeOpacity:0,
map: myMapObject,
radius: 32186 /* 20 miles */
}
var myCircle = new google.maps.Circle(circleOptions);
myMap.fitBounds(myCircle.getBounds());

I'm not sure that this code works as I just jotted it down but something
like that should work. Maybe that will point you in the right direction.

Jason

On Thu, Apr 22, 2010 at 7:32 PM, The Net Duck thenetd...@gmail.com wrote:

 HI
 I'm trying to zoom my map in our out based on the distance my users
 set. For instance, a user might say they want to see a map with
 objects around them at 50 miles or maybe 20 miles etc. I want the
 google map to only zoom out to 25 miles from their given point.

 I have their given point but I don't know how to manipulate the zoom
 level in such a way that they only see X distance from their current
 point.

 Thanks!

 - The Net Duck

 --
 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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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] How to get a reference to an existing map?

2010-04-21 Thread Jason Sanford
Hi Blaine
It sounds like you might be declaring your map variable inside a function.
Try declaring it outside of a function and initializing inside like so:

var map;
function initialize() {
var myLatlng = new google.maps.LatLng(-34.397, 150.644);
var myOptions = {
  zoom: 8,
  center: myLatlng,
  mapTypeId: google.maps.MapTypeId.ROADMAP
}
map = new google.maps.Map(document.getElementById(mapCanvas), myOptions);
  }



On Wed, Apr 21, 2010 at 6:43 PM, Blaine bcart...@gmail.com wrote:

 I have a div with id=mapCanvas

 I create a map inside the div
 var map = new google.maps.Map(document.getElementById(mapCanvas),
 myOptions);


 Assuming that the function that creates the map has completed and I
 have now lost the map var.

 How do I get a reference back to the existing map when I only know the
 div it is in?

 var oldmap = document.getElementById(mapCanvas).theMapInisdeThisDiv;

 --
 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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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 in Drupal

2010-04-12 Thread Jason Sanford
I think the jQuery selector always returns the jQuery object which the
Google Maps API doesn't really know what to do with.

This might be helpful.
http://stackoverflow.com/questions/939036/using-jquery-selectors-within-google-map-does-not-work

On Mon, Apr 12, 2010 at 11:18 AM, Chris Apolzon apol...@gmail.com wrote:

 I ran into an issue where I couldn't use the jquery selector object to
 set the map variable.  I was forced to fall back to
 document.getElementById().  It was very odd because jquery had the
 correct object, the google maps constructor just didn't like it.

 On Apr 12, 2:52 am, Macke mar...@ageskog.se wrote:
  Hello William!
 
  I tried to change the code but i still get the same message. I have
  used the same code on a ordinary .php file that has nothing to do with
  Drupal and then it works.
  If i try running the JQuery $('#map_canvas') after the page is loaded
  nothing gets selected if i change the code to  $('div#map_canvas') on
  object get selected. But i still get the same error message when the $
  ('div#map_canvas') is used.
 
  On 11 Apr, 09:21, William william.g...@gmail.com wrote:
 
 
 
   On Apr 10, 8:32 pm, Macke mar...@ageskog.se wrote:
 
  map =  new google.maps.Map(('#map_canvas'), mapOptions);
 
   the error is using the jquery # selector without a reference to
   jquery.
 
   If you really want to use jquery for this, it would be:
 
   map =  new google.maps.Map($('#map_canvas')[0], mapOptions);
 
   or instead use the usual getElementById function:
 
   map =  new google.maps.Map(document.getElementById('map_canvas'),
   mapOptions);

 --
 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-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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] how to change the size of infowindow

2010-04-09 Thread Jason Sanford
The max width of an InfoWindow can be easily changed by:
myInfoWindow.setOptions({maxWidth:400});

Then you'd want to style your InfowWindow content with the width you'd like
with CSS: .iwContent{width:400px;}

I'm not sure but I think the height is set automatically depending on the
content you inject.

On Fri, Apr 9, 2010 at 2:59 AM, zjm1126 zjm1...@gmail.com wrote:

 i want to set the width and height of the infowindow using 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 from this group, send email to
 google-maps-js-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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 mouseover

2010-04-06 Thread Jason Sanford
I know there is no 'mouseover' event for a Polygon but has anyone
successfully implemented their own solution? I want to highlight a polygon
(change fillColor property) when I mouseover a polygon and open an
infoWindow when I click a polygon (I've already got this).

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



[Google Maps API v3] Re: API V2 or V3 for production site

2010-01-25 Thread jason
Those are good points. Does anyone know the expected timeline for API
V3 to graduate from Labs and become an official release? We are
looking to implement the feature on production sites in April, 2010.

Thanks!


On Jan 22, 4:32 pm, Mike Williams nos...@econym.demon.co.uk wrote:
 You wrote

 Hi,

 I am new to google map APIs. I would like to use the API for a
 production website hosted on multiple international domains. I likes
 v3's new syntax as well as not requiring a API key for each domain. I
 am just wondering if there is any reason I should not use v3,
 especially on its reliability and performance.

 Google Labs projects, like v3, are allowed to have syntax changes that
 break existing pages, and each API release undergoes far less testing
 than mature projects like v2.

 --
 Mike Williams

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