[Google Maps API v3] Re: Download current map using Google api and Tiles for offline use

2018-04-12 Thread james . iflair
How can I achieve this using google api? On Thursday, April 12, 2018 at 5:58:47 AM UTC+5:30, james@gmail.com wrote: > > I am creating an android application which works offline for GoogeMap. > When the user clicks on download button whole map which is having all > markers a

[Google Maps API v3] Download current map using Google api and Tiles for offline use

2018-04-11 Thread james . iflair
I am creating an android application which works offline for GoogeMap. When the user clicks on download button whole map which is having all markers and polylines should be downloaded and whenever user open that map offline It should be opened with all its markers and its respected polylines of

Re: [Google Maps API v3] do you guys offer any support for google api at all anymore?

2015-09-03 Thread 'James McGill' via Google Maps JavaScript API v3
I saw the question on Stack Overflow, but was unable to determine the cause. It is almost certainly a bad interaction between some CSS on your page and the Maps API. I suggest following @geocodezip's advice and seeing if you can reproduce a minimal and complete example that reproduces the problem.

Re: [Google Maps API v3] Does the places library have the same limit as the map when used via the javascript api?

2015-08-18 Thread 'James McGill' via Google Maps JavaScript API v3
be more specific, according to the Google API Console, the Places API > has a free quota of 1,000 queries per day. > > jg > > On Tue, Aug 18, 2015 at 4:24 AM, 'James McGill' via Google Maps JavaScript > API v3 wrote: > >> Access to the Places API from the Maps AP

Re: [Google Maps API v3] Does the places library have the same limit as the map when used via the javascript api?

2015-08-18 Thread 'James McGill' via Google Maps JavaScript API v3
Access to the Places API from the Maps API is rate limited per user session to prevent abuse. Each session begins with a quota of requests that is consumed when making a query, and then slowly topped up. On Tue, Aug 18, 2015 at 5:28 PM, mapsuser wrote: > The usage limit link on the places librar

Re: [Google Maps API v3] AutocompleteService: componentRestrictions doesn't seem to be functional

2015-08-11 Thread 'James McGill' via Google Maps JavaScript API v3
than getQueryPredictions. This appears to apply the restriction correctly. Cheers, James On Sat, Aug 8, 2015 at 8:36 AM, gotofritz wrote: > Hi. A simple AutocompleteService request. > > Loading this API: > https://maps.googleapis.com/maps/api/js?v=3.21&libraries=places&callback= > onAP

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

2013-09-11 Thread James Yang
Hi Chris, Is there a link to the code used for the first link that you provided? I'm interested in just a pure js, css, html implementation of this, and the source code on http://www.google.com/events/io/2011/embed.html is not very human friendly. On Tuesday, July 12, 2011 7:19:50 PM UTC-5, Ch

Re: [Google Maps API v3] Question regarding daily limits and accounts for same domain

2013-04-29 Thread James Rich
Using a sub-domain is not a possibility for us unfortunately. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@

[Google Maps API v3] Question regarding daily limits and accounts for same domain

2013-04-22 Thread James Rich
(www.domain.com/users/company) Any help would be greatly appreciated. Thanks, James -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: [Google Maps API v3] Cannot get current location Lat/Long Position

2012-06-18 Thread James Mclean
Most recent devices support the geolocation API. Take a look here to find out more about specific versions of Android and iOS http://html5test.com/results/mobile.html You may also be interested in the location API provided by Telefonica's Bluevia https://bluevia.com/en/page/tech.APIs.LocationAPI

Re: [Google Maps API v3] map not rendering

2012-05-27 Thread James Ward
    html { height: 100%; } >     body { height: 100%; } > > Or a certain fix is to set the height explicitly in JS, e.g. > >     $('#map_canvas').height( $(window).height() ); > > More about height:100%: > > https://www.google.com/search?q=css+height+100% > > -Mike

[Google Maps API v3] map not rendering

2012-05-27 Thread James Ward
Hi I am trying to add google map on a JQM page but it does not render properly. I only can see partial map not the whole map. Can some one please let me know how to resolve this issue. Here is the code. Thanks in advance. Main Page http://code.jquery.com/mobile/1.0a1/j

Re: [Google Maps API v3] Re: yellow pages and google map

2012-01-01 Thread James Ward
and click the "Search" button. > > Hint: You can also hit the "Enter" key. > > -- > Marcelo - http://maps.forum.nu > -- > > > > > On Jan 1, 4:53 pm, James Ward wrote: >> Hello all, >> >> I am trying to develop a vary simple yello

[Google Maps API v3] yellow pages and google map

2012-01-01 Thread James Ward
. Regards, James -- 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-v

[Google Maps API v3] Rectangle

2011-12-29 Thread James Carroll
to be user adjustable, clickable or anything else. Please help James -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/f

[Google Maps API v3] Re: Problems changing kmlLayer dynamically on view change

2011-12-16 Thread James Morley
yway, thanks again for your help. As you say, it's a cool project and I've already had some positive response from some of the museums involved in the Commons. This was in response to a blog post I wrote - http://www.whatsthatpicture.com/2011/12/mapping-flickr-commons Regards, Jame

[Google Maps API v3] Problems changing kmlLayer dynamically on view change

2011-12-15 Thread James Morley
e any advice, whether it's quick fixes, or longer-term approaches. Thanks, James -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google

Re: [Google Maps API v3] Re: Yellow Page App With Google MAP

2011-12-12 Thread James Ward
Excellent! Do not know how to say thanks to you. Got the Answer!! On Mon, Dec 12, 2011 at 8:00 PM, Rossko wrote: >> My main question >> is regarding the local search from my list of that 17000 locations, not >> google give list. > > With no idea how you are storing your list nor what informatio

[Google Maps API v3] Yellow Page App With Google MAP

2011-12-12 Thread James Ward
Hi, I am trying to develop a interest group yellow page. As an example the group is VW drivers. There are 2000 VW dealers, 5000 parts seller, 1 mechanics etc. The user will be able to see only the dealers or parts seller or mechanics at a time. I do not want to plot a 2000 dealers at a time

Re: [Google Maps API v3] Re: iPad app paints Google maps with getCurrentPosition but not without

2011-11-16 Thread James McGill
That is webpage, just embedded in an iOS App. Please upload the page/code somewhere and post a link to that site. I suspect that you will find that the basic site does not work, irrespective of the iOS host. On Wed, Nov 16, 2011 at 12:34 PM, Rossko wrote: > > Tweaked standard Google tutorial >

[Google Maps API v3] Google Street View Update

2011-10-14 Thread jesar james
I believe, I'm currently using the old version of Google Street View since the features of it are still limited: http://dev.hotelsnearplace.com/singapore-flyer-41797.htm How can I turn it into the new, fully featured Google Street View? http://maps.google.com/maps?q=1.289487,103.862846&laye

[Google Maps API v3] Re: Terms of use clarification

2011-10-05 Thread james cars
Thank you for the information DC -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/PppVUiFkaJEJ. To post to this group, send email t

[Google Maps API v3] Terms of use clarification

2011-10-02 Thread james cars
I intend using Google maps javascript API V3 for a chauffeur car website to allow potential clients calculate the cost of journeys and would like to know if the terms of service allow this type of use. The website is free to use. I apologise if this is not the correct forum for this post. -- Y

[Google Maps API v3] Viewing country names in one language only

2011-09-22 Thread James Paxton
the English versions. Is this possible? Many thanks, James -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/dWg0qJ47wQUJ

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

2011-08-28 Thread James McGill
Hi Adrian, Can you specify which version of Chrome you mean (click Spanner -> About Google Chrome) as well as which operating system? Regards, James On Sun, Aug 28, 2011 at 5:42 AM, Adrian CDL wrote: > http://gmaps-samples-v3.googlecode.com/svn/trunk/drivingdirections/directions-optimize

Re: [Google Maps API v3] Re: Introducing Glide Panel

2011-08-20 Thread James McGill
Hi Pil, Could you provide an example of the code you're talking about (converting to binary values). Regards, James On Fri, Aug 19, 2011 at 11:22 PM, Pil wrote: > > > On Aug 19, 1:32 pm, en4ce wrote: > > really nice but the script is so huge :/ > > Yes, unfo

[Google Maps API v3] 2 Questions on Fusion Tables

2011-08-05 Thread James Renshaw
ion table marker, and that marker's info window would automatically pop up. I've managed to center it easily enough, but can't work out how (or if) I can make the info window display. Any help would be appreciated, Thanks, James -- You received this message because you

Re: [Google Maps API v3] Problem with KML Info Windows

2011-08-03 Thread James McGill
suppressInfoWindows: true Turns off info windows. Regards, James On Thu, Aug 4, 2011 at 11:06 AM, Behrouz wrote: > Hi Guys, > > I can add KML layer to map now but I am encountering with other issue > which the KML doesn't fire any info windows when I click on them. > >

Re: [Google Maps API v3] API unable to load PNG image in KMZ file

2011-08-01 Thread James McGill
d, I strongly recommend removing this forwarding logic as it may cause problems in the future if we change the URL format. Regards, James On Mon, Aug 1, 2011 at 11:40 PM, weekend wrote: > Okay, I've tried a few different fixes and will outline them here. > > File in question: http:/

Re: [Google Maps API v3] Feeding Google maps from KML only Blue Markers

2011-07-31 Thread James McGill
Can you post a link to your KML file? Regards, James On Mon, Aug 1, 2011 at 8:15 AM, Harry G. Osoff wrote: > ** > In my attempt to populate Google Maps from a kml file > var kmllayer = new google.maps.KmlLayer > > I only seem to be able to get Blue Markers. > > I have attempted using the styles >

Re: [Google Maps API v3] Re: Can not display Google Earth Kml file on Google Map

2011-07-27 Thread James McGill
You could try compressing your file (using any ZIP program or Google Earth) so that it can be served as a KMZ. On Wed, Jul 27, 2011 at 9:20 PM, Rossko wrote: > >http://113.160.17.10/test/polyline.kml(Work just well on Google > Earth) > > It's 9Mb > There are limits on file size > http://code

[Google Maps API v3] Re: Directions API & Google Maps

2011-07-19 Thread James Cox
Apologies, just a little bump here -- 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/-/NySdb7VeTR8J. To post to this group, send email

Re: [Google Maps API v3] Re: Google Fusion refresh layer when add a KML layer

2011-07-19 Thread James McGill
will avoid the refresh, and you can also do neat things like change the polygon color on mouse over. Regards, James On Tue, Jul 19, 2011 at 7:21 PM, Bob wrote: > I still have this problem, does anyone have an idea what I can do about it? > > > -- > You received this message becaus

[Google Maps API v3] Directions API & Google Maps

2011-07-18 Thread James Cox
Hi there This is a complete newb question, but I would be truly grateful for any assistance at all with this. I would like to make a map exactly like this: https://ville-saintraphael.fr/typo3conf/ext/parkings/maps/index.php?type=voiriepayant But for a different location, I am not sure of the p

[Google Maps API v3] Re: Load new KML overlay on zoom change

2011-07-18 Thread Adam James
Thanks Larry. Would it be possible to point me in the direction of some example code- I'm new to this and don't really know how/where to implement the above. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discus

[Google Maps API v3] Load new KML overlay on zoom change

2011-07-14 Thread Adam James
Hi all, I am wanting to toggle between kml layers at a specified zoom level; at either side of this level one will be off and the other will be visible. I have tried 'normal' and DOM event listeners but have yet to succeed. I am new to this though so I'm aware I've probably approached it in th

[Google Maps API v3] Re: Trouble manipulating map from HTML link

2011-07-13 Thread James Renshaw
Thanks, that has indeed solved it. I think the main problem was that I'd put 'var' before 'map' on 2 occasions, but then I would have still had those global variable problems. Thanks for your help, I should be able to make a great page from this now. -- You received this message because you a

[Google Maps API v3] Re: Trouble manipulating map from HTML link

2011-07-13 Thread James Renshaw
nd why it's not working. Thanks, James -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/vf6AtroFarwJ. To post to this gro

[Google Maps API v3] Trouble with Centering Google Maps

2011-07-13 Thread James Renshaw
ake a great deal of sense yet, but if I can get one to work, I should be able to implement a load of useful things with it. Hopefully one of you can help me, Thanks in advance, James -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript

[Google Maps API v3] Re: Left-side panel

2011-06-30 Thread jesar james
Ahh..okay. So what should I do to have a more accurate search result? And how can I have multiple results with one search? On Jul 1, 2:42 am, Rossko wrote: > > By the way, so if I get it right, the information placed/displayed on > > the left panel of Google Maps came from Google Places? > > I do

[Google Maps API v3] Re: Left-side panel

2011-06-30 Thread jesar james
Yup, that's what I've been doing while waiting for replies here on my post..thank you! By the way, so if I get it right, the information placed/displayed on the left panel of Google Maps came from Google Places? And is the documentation on Google Places (http://code.google.com/apis/ maps/documentat

[Google Maps API v3] Re: Left-side panel

2011-06-30 Thread jesar james
I've checked that earlier and I've found nothing related to multiple results in 1 google maps search. But thank you though. On Jun 30, 2:42 pm, veeresh hiremath wrote: > *gmap3*.net/examples.html > > > > > > > > On Thu, Jun 30, 2011 at 11:54 AM, jesar jam

[Google Maps API v3] Re: Left-side panel

2011-06-29 Thread jesar james
How can I get multiple results with one google maps search? I'd like to get, at least, the first 3 top results once I searched for a location like "69th Regiment Armory, New York, USA". -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" g

[Google Maps API v3] Left-side panel

2011-06-29 Thread jesar james
I'm having problems with the coordinates I'm getting from Google Maps Geocode. Is there a way to tap into Google's search result on the left panel of maps.google.com? http://www.flickr.com/photos/40211482@N07/5886975556/lightbox/ -- You received this message because you are subscribed to the Goo

Re: [Google Maps API v3] Re: GLog.write or equivalent in V3

2011-06-22 Thread James McGill
Consider developing in Chrome with the Chrome developer tools. I find them much more responsive. Regards, James On Tue, Jun 21, 2011 at 5:46 PM, RoyHB wrote: > Thanks Larry - back to the buggy world of Firebug for me > > Roy > > -- > You received this message because you are

[Google Maps API v3] Re: Clickable Polylines

2011-06-06 Thread bernie james
o place in one window. The second item i need to to change the icon to something like a road work under construction sign. On Jun 4, 7:07 pm, bernie james wrote: > I've created a new > maphttp://bfwebdev.nmsu.edu/ADV_ASP_BJM/maps_test7.htmlwhere > I'm trying to place icons wit

[Google Maps API v3] Re: Clickable Polylines

2011-06-04 Thread bernie james
I've created a new map http://bfwebdev.nmsu.edu/ADV_ASP_BJM/maps_test7.html where I'm trying to place icons with infowindows until I can get more time to work on understanding the clickable polyline sample. I have a lot of information to place in the infowindow and would like the users to c

Re: [Google Maps API v3] Displaying "Too large" Shapefiles

2011-06-04 Thread James McGill
Out of interest, why do you want to avoid tiles? On Sat, Jun 4, 2011 at 11:33 PM, Chris Broadfoot wrote: > What changes every minute? Obviously it's not the county boundaries > themselves :) > > On Sat, Jun 4, 2011 at 5:51 AM, midimid wrote: >> >> I know there's lots of topics on this, but if th

[Google Maps API v3] Re: Clickable Polylines

2011-06-03 Thread bernie james
I have some time constraints so I'm going to have to try to make a few things happen first and then come back to revisit the clickable polyline. For now I'm going to try to identify polylines and place markers that will open into infowindows. I have a test page: http://bfwebdev.nmsu.edu/A

[Google Maps API v3] Re: Clickable Polylines

2011-06-03 Thread bernie james
Thanks Larry, you are correct I do not have the .js file downloaded on my server. I get the same errors as you and I guess for that reason. I apologize for the newbie questions and errors. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScr

[Google Maps API v3] Re: Clickable Polylines

2011-06-03 Thread bernie james
Thanks for pointing me to a great example. I tried to get a version working here but it seems that I get an error on a line of code referencing the XML filename http://bfwebdev.nmsu.edu/adv_asp_bjm/maps_test3.html -- You received this message because you are subscribed to the Google Groups "G

[Google Maps API v3] Re: Can anyone teach me how to use "types[]" and "address_components[]"?

2011-06-02 Thread jesar james
(nearly) working version.  You > are more likely to get useful help that way. > > - Jeff > > On Jun 1, 11:09 pm, jesar james wrote: > > > > > > > > > Can anyone teach me how to use "types[]" and "address_components[]"? >

[Google Maps API v3] Re: Clickable Polylines

2011-06-02 Thread bernie james
Thanks for the reply. I'm trying to insert the code from the simple infowindow example when the polyline is clicked - http://bfwebdev.nmsu.edu/ADV_ASP_BJM/polylinemap3.html -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To

[Google Maps API v3] Clickable Polylines

2011-06-02 Thread bernie james
I've researched and found several examples in this forum with drawing polylines. However, the topics which discuss making the polylines clickable are a little out of my realm when it comes the programming with java. Perhaps explaining my situation will help and using this forum as a sounding

[Google Maps API v3] Can anyone teach me how to use "types[]" and "address_components[]"?

2011-06-01 Thread jesar james
Can anyone teach me how to use "types[]" and "address_components[]"? Because I'm having a hard time retrieving address information with my code. // Display Street Address document.getElementById('txtStreet').value = results[0].address_components[1].long_name+" "+results[0].address_components[2].lo

Re: [Google Maps API v3] Re: KmlOverlayService 500 Internal Server Error

2011-05-29 Thread James McGill
For those interested, here's the command I used to time downloads: time wget -S http://foothill-web-gis.googlecode.com/svn/data/rooms1.kml?randomnumberhere Looking at the download speed is insufficient as it doesn't take into account the size of the file, or request latency. Regards,

Re: [Google Maps API v3] Re: KmlOverlayService 500 Internal Server Error

2011-05-29 Thread James McGill
from a faster or more consistent server. I've found that Google AppEngine works well for static files. Regards, James On Mon, May 30, 2011 at 2:31 PM, Matthew C wrote: > By the way, > http://code.google.com/apis/maps/documentation/javascript/forum.html?place=forum/google-maps-js-api-v3

[Google Maps API v3] Data Retrieval

2011-05-29 Thread jesar james
How do I get/retrieve information such as the Country and City (or even the Street) in Google Maps? Are there functions in Google Maps API that give out such information? How do I use them? Help, I'm a noob in this kind of app development. Thanks!! =) -- You received this message because you are

[Google Maps API v3] After refresh, the map is gone except the controls

2011-05-29 Thread james
When first access the link, everything looks ok. but after refresh, then the map is gone - only the controls stay. Any helps are very appreciated! http://www.localguider.com/PhpInsurance/index.php -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScr

[Google Maps API v3] Re: Marker V3 and Draggable Marker V3 did not appear on my browser.

2011-05-21 Thread jesar james
I've edited my code and put the "map" outside the function "initialize", but still nothing happened. On May 19, 5:18 pm, Rossko wrote: > All you functions are defined in local scope inside initialize, your > 'map' is also in local variable scope.  Thats probably going to cause > you problems when

[Google Maps API v3] Re: Marker V3 and Draggable Marker V3 did not appear on my browser.

2011-05-19 Thread jesar james
an you take a screenshot, please? > > Can you see the marker in the page you linked? If so, could you please link > to your own test/demo pages that you're having troubles with. > > > > > > > > > > On Thu, May 19, 2011 at 1:21 PM, jesar james wrote: > >

[Google Maps API v3] Marker V3 and Draggable Marker V3 did not appear on my browser.

2011-05-18 Thread jesar james
Hello, I'm a noob in using/developing Google Maps JavaScript API v3. I'm having a problem with my test/demo pages when it comes to the Marker V3 and Draggable Marker V3. They didn't appear on any of my test/demo pages. I even tried copying the codes from http://code.google.com/apis/ajax/playground

Re: [Google Maps API v3] Query Fusion Table

2011-05-18 Thread James McGill
Try where: "trap = 'A'" (Single quotes around 'A', double quotes around the entire query) Regards, James On Thu, May 19, 2011 at 4:25 AM, Alan Wheeler wrote: > I am trying to query a fusion table (862420). This table has a column of kml > data named ge

Re: [Google Maps API v3] color coded regions dynamic report kmllayer

2011-05-16 Thread James McGill
HTML Links are supported in KML infowindows / balloons. KML is a common approach to high performance maps. The data is rendered server side, which allows large volumes of data to be displayed quickly. Regards, James On Tue, May 17, 2011 at 3:51 AM, geo12345 wrote: > Hi > > We have a re

Re: [Google Maps API v3] Trouble with transparency in KML files

2011-05-13 Thread James McGill
Can you provide some example KML files? Preferable one working, and one not working? Regards, James On Sat, May 14, 2011 at 1:39 AM, Joe Entropy wrote: > Hi > > We're having a really confusing problem. We've got a mapping > application that overlays thematic polygons o

[Google Maps API v3] Re: problem with custom projection

2011-05-05 Thread James
Thanks Nianwei. I believe this is a very important feature that Google Map API needs to support. There will be more and more people start using custom projection as it will provide a lot of benefits. -- You received this message because you are subscribed to the Google Groups "Google Maps Ja

[Google Maps API v3] Re: problem with custom projection

2011-05-04 Thread James
Thanks Rossko. I want to know if any efforts taken to fix the problems. Or at least it's been taken into some accounts already. -- 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-map

[Google Maps API v3] Re: problem with custom projection

2011-05-04 Thread James
I implemented the UTM projection and it seems to work for markers and tiles, but does not seem to work properly with rendering polygons and polylines. please see the screenshot which shows the problems: 1) the four markes supoosed to be the four votices of the polygon trying to render, but

Re: [Google Maps API v3] Panoramio setUserId

2011-05-02 Thread James McGill
oLayer for more details. Regards, James On Tue, May 3, 2011 at 2:55 AM, Andrei Blidariu wrote: > I tried this: > >    panoramioLayer = new google.maps.panoramio.PanoramioLayer(); >    panoramioLayer.setUserId(5505528);  //5505528 is my panoramio ID >    panoramioLayer.setMap(

Re: [Google Maps API v3] Panoramio setUserId

2011-05-02 Thread James McGill
panoramioLayer = new google.maps.panoramio.PanoramioLayer(); panoramioLayer.setUserId(1234); panoramioLayer.setMap(map); On Tue, May 3, 2011 at 1:05 AM, Andrei Blidariu wrote: > How can I add only some pictures from panoramio to my map(by ID). > How to use .setUserId() > ... > panoramioLayer = ne

Re: [Google Maps API v3] Re: Selenium test with V3

2011-04-30 Thread James McGill
Set optimized = false; for each of your markers (see http://code.google.com/apis/maps/documentation/javascript/reference.html#MarkerOptions). Note that this has a performance cost, so I would suggest doing this only for the purposes of testing. On Sat, Apr 30, 2011 at 8:17 AM, ling ling wrote: >

[Google Maps API v3] Re: questions about the custom projection

2011-04-29 Thread James
what do you mean to consider GroundOverlay option? I do use GroundOverlay to overlay some layers. -- 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

[Google Maps API v3] Re: Bug in IE8: Overlay tiles are not transparent in IE8. Works fine in Chrome, Firefox and IE9.

2011-04-29 Thread James
a couple of tests I did indecates: 1. IE8 does support the transparency of the png file 2.it does not seem to have 'isPng' parameter; 3. png file I generated seems to work fine:

[Google Maps API v3] Re: questions about the custom projection

2011-04-29 Thread James
Thanks Esa. I should say 1,000,000 m which is the defined width of on UTM zone. However if the answers to both my questiosn are yes, I should be able to do whatever mapping I want, right? I know I could do as Nianwei did in the demo code (which i may end up with doing as my tests showed ther

[Google Maps API v3] Re: problem with custom projection

2011-04-29 Thread James
Thanks for your explainatino and it helped me a lot. -- 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 goo

[Google Maps API v3] questions about the custom projection

2011-04-29 Thread James
I am implementing a custom projection (UTM). 1. Can I use any point (say the center of my city or a UTM zone) as the map origin? 2. Can I define the map to display only local area at the zoom level 0, which means tile_0_0_0 maps the range of 10,000m wide only? -- You received this message

[Google Maps API v3] Re: problem with custom projection

2011-04-28 Thread James
Thanks Nianwei. The sample code is great for me to start with. I studied the code and am a little bit confused with the variable resolustion0 (default value 1024). I understand all the calculations related, based on which I assume it should work with different valuse like 2048 or 512, but it d

[Google Maps API v3] problem with custom projection

2011-04-27 Thread James
I am trying to use a custom projection. I started from these sample code: 1. I use the calculation function from this sample (I assume this the calculation function used by the API for the Mercator projection): http://code.google.com/apis/maps/documentation/javascript/examples/map-coordinates.

Re: [Google Maps API v3] KML question whether to use JSON or something else instead?

2011-04-11 Thread James McGill
Nicely done! On Mon, Apr 11, 2011 at 7:24 PM, Niklas Rosencrantz wrote: > Thanks for the help. The response is now working and is not timing out with > code responding via www.koolbusiness.com/list.kml with backend: > >  def get(self): >     self.response.headers["Cache-Control"] = "public,max-ag

Re: [Google Maps API v3] KML question whether to use JSON or something else instead?

2011-04-11 Thread James McGill
Try: output = template.render(path, template_values) self.response.headers['Content-Length'] = len(output) self.response.out.write(output) On Mon, Apr 11, 2011 at 4:09 PM, Niklas Rosencrantz wrote: > Certainly. Thanks for all the great help. Here is what fills the template > > from datetime impo

Re: [Google Maps API v3] KML question whether to use JSON or something else instead?

2011-04-10 Thread James McGill
Can you post the code which fills in the template (Don't worry about posting the template)? On Mon, Apr 11, 2011 at 1:32 PM, Niklas Rosencrantz wrote: > That's very good to know and just using the cache control header improved > the response significantly. > I now also try and set the expires hea

Re: [Google Maps API v3] KML question whether to use JSON or something else instead?

2011-04-10 Thread James McGill
emcache. When a user loads a map, that KML will be served from memcache and will be very fast. Regards, James On Mon, Apr 11, 2011 at 12:15 AM, Niklas Rosencrantz wrote: > Thank you James for the info that I should enable public caching. Could it > be enough with python to do it just

Re: [Google Maps API v3] KML question whether to use JSON or something else instead?

2011-04-10 Thread James McGill
gth header correctly. - It takes ~8 seconds to download your KML file (from my machine), which breaks down as ~7.8 seconds to generate it, and 0.2 seconds to transfer it. This is most likely the reason it does not display when you first load a map (the request times out). Hope that helps! Regards,

Re: [Google Maps API v3] Issues loading Google Maps V3

2011-04-08 Thread James McGill
Please provide a link to your website. On Sat, Apr 9, 2011 at 12:50 PM, Prasad wrote: > I am building a mobile website which uses AJAX to get content for different > pages. If a page has maps requirement then based on the placeholder div > placed in the content of the page, i initialize google Ma

Re: [Google Maps API v3] How to protect source code in javascript using notepad

2011-04-07 Thread James McGill
Take a look at this. It will obfuscate your code, which makes it harder for other people to read. http://code.google.com/closure/compiler/ On Thu, Apr 7, 2011 at 3:57 PM, FARAH SIRAJ wrote: > Hi all, > I have made the code in javascript using notepad which read excel data and > plot it on google

Re: [Google Maps API v3] Re: KML/KMZ Load - 500 Internal Server Error

2011-04-05 Thread James McGill
To help isolate the problem, can you pre-generate some KML files (to remove the possibility that the generation time is causing timeouts) and then try and load each of them? Regards, James On Wed, Apr 6, 2011 at 4:49 AM, Tony wrote: > Thanks for your suggestion, but when I go to generate it,

Re: [Google Maps API v3] Re: Creating a Basic Map Problem

2011-04-01 Thread James McGill
Maps API v3 does not use keys. The code I sent you loads the API from a different URL (in the script tag). You need to load it from the same URL. On Fri, Apr 1, 2011 at 9:26 PM, Iratus wrote: > Thank you very much for your help but still haven't manage to make it work > > > I changed the co

Re: [Google Maps API v3] Re: Creating a Basic Map Problem

2011-03-31 Thread James McGill
I think the main problem is that you are loading Maps API v2 and then trying to use Maps API v3 syntax/code. Click view source on this page: http://code.google.com/apis/maps/documentation/javascript/examples/map-simple.html to see an example of how to write what you are trying to achieve. On Fri

Re: [Google Maps API v3] Re: 32x32 KML icons getting scaled?

2011-03-25 Thread James McGill
KML URL so that it is never cached e.g. http://foo.com/something.kml?bonus=random_number_here Well behaved servers will ignore the ? parameter if they don't know what to do with it. Regards, James On Fri, Mar 25, 2011 at 3:14 AM, Robin B wrote: > How bizarre! I reloaded the page,

Re: [Google Maps API v3] Re: FusionTablesLayer from KML file - null on click events

2011-03-25 Thread James McGill
Hi, I suspect this is because you have two location columns. Where a table has two location columns, you should tell Fusion Tables which one to display using a SELECT query e.g. layer = new google.maps.FusionTablesLayer(562449, { query: "SELECT column_name FROM 562449"}); Regards,

Re: [Google Maps API v3] Re: KML infowindow - Can I close it with code?

2011-03-23 Thread James McGill
layer.setOptions({suppressInfoWindows: true}); layer.setOptions({suppressInfoWindows: false}); Avoids an additional HTTP fetch. On Thu, Mar 24, 2011 at 3:46 PM, geocode...@gmail.com wrote: > On Mar 23, 8:50 pm, Joseph Elfelt wrote: >> I got it. >> >>         mykml.setMap(); >>         mykml.set

Re: [Google Maps API v3] KML infowindow - Can I close it with code?

2011-03-23 Thread James McGill
Toggling suppressInfoWindows should hide it. On Thu, Mar 24, 2011 at 2:09 PM, Joseph Elfelt wrote: > When a map is displaying a KML file and the viewer clicks on a KML > line/marker/etc typically an infowindow opens and displays some > stuff.  Is there a way to close that infowindow with code? >

Re: [Google Maps API v3] Hiding Google Logo & Terms Of Service Link

2011-03-23 Thread James McGill
Sounds fine, as long as they are not hidden while the map is able to be interacted with. On Wed, Mar 23, 2011 at 9:26 PM, fungus1...@googlemail.com wrote: > Hi All, > > First of all I am NOT attempting to hide both these elements I am > looking to find out whether the following scenario breaches

Re: [Google Maps API v3] Embed javascript in V3 InfoWindow

2011-03-17 Thread John James
Chris, thanks for your reply but, unless I'm missing something, that doesn't solve the issue I'm addressing as the email address is then hard-coded in the HTML sent to the browser and is therefore available to harvesters. Whereas if the JavaScript sent to the browser dynamically writes the HTML fo

[Google Maps API v3] Embed javascript in V3 InfoWindow

2011-03-16 Thread John James
I've been digging for a while and cannot figure this, so... I want/need to embed a snippet of JavaScript in an InfoWindow, to dynamically create a mailto: link (as a simple means of protection against email address harvesters). I've tried embedding a ... in the content string which calls a f

Re: [Google Maps API v3] Adding a circle with radious x around each point on directions map

2011-03-02 Thread James McGill
Yes, it is possible, but you must first convert your map to Maps API v3. Once you have done that, calling: radius.setMap(map); Will add the circle to your map. As it stands though, this cannot work, as the V3 circle will not work with a V2 map. Regards, James On Thu, Mar 3, 2011 at 7:52 AM

Re: [Google Maps API v3] Adding a circle with radious x around each point on directions map

2011-03-02 Thread James McGill
You seem to be mixing V2 and V3 of the Maps API. These are two different versions of the API which cannot be used on the same map. Regards, James On Thu, Mar 3, 2011 at 7:13 AM, brothaofdes wrote: > I am using the following to create a map: > function initialize() { >

Re: [Google Maps API v3] Could not get JSON output when using Directions API Web Services

2011-03-01 Thread James McGill
XMLHttpRequests cannot be made between multiple domains - in this case localhost (your domain) and google.com. You should use the built the Directions classes built into the Maps API to load directions via Javascript. Regards, James On Wed, Mar 2, 2011 at 11:53 AM, sandy037 wrote: > Hi

Re: [Google Maps API v3] Re: Where to start with API v3?

2011-02-24 Thread James McGill
What was "too long"? Fusion Tables layers should load relatively quickly. Regards, James On Fri, Feb 25, 2011 at 1:55 PM, Tom wrote: > > > On Feb 25, 12:33 pm, Rossko wrote: >> > So basically What i need to know is which is the best way of creating >> > ove

Re: [Google Maps API v3] Problems occur when changing the size of the google maps container.

2011-02-22 Thread James McGill
Try the following: google.maps.event.trigger(map, 'resize') This lets the map know that you have resized its container. On Tue, Feb 22, 2011 at 11:23 PM, Luo Jiesi wrote: > I have a div like this: > > and I initialize the map like this : > var map =  new google.maps.Map(document.getElementByI

  1   2   >