Re: [Google Maps API v3] Geolocation with add marker function

2019-03-02 Thread Barry Hunter
> > On Sat, Mar 2, 2019 at 2:04 AM Barry Hunter > wrote: > >> Do you mean the browser Geolocation API? >> https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API >> >> ... ie find the visitors location, and then let them create a Marker at >> tha

Re: [Google Maps API v3] Geolocation with add marker function

2019-03-01 Thread Barry Hunter
Do you mean the browser Geolocation API? https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API ... ie find the visitors location, and then let them create a Marker at that location? Or maybe mean just show a fancy marker to 'show' the user their location? ... in short yes, should be a

Re: [Google Maps API v3] Hiding API Key

2018-05-22 Thread Barry Hunter
It's impossible as such. The client side app needs the key to function. You could make it much *harder* to find (eg transfer it only in a encrypted AJAX request) but its still going to be pretty easy to figure out (ie will get written into network requests to Google) . For the static API can sig

Re: [Google Maps API v3] Loading large amount of shapes (circles) to google map on client

2018-01-31 Thread Barry Hunter
Have you looked at the Heatmap layer? https://developers.google.com/maps/documentation/javascript/heatmaplayer that's optimized for large number of points. Could tweak the colour scale if *only *want Red colour. On 24 January 2018 at 08:57, Matic Diba wrote: > Hi, > I have an interesting proble

Re: [Google Maps API v3] Can I use Google Map help geo-visualization of social relationship?

2017-09-28 Thread Barry Hunter
Well as such the Maps API could be used to render data. But would suggest its perhaps not the 'best' platform. In particular the API is good for 'small' to 'medium' size datasets. If you literally talking about millions of lines, the API is going to struggle. Mainly as data has to be transfered to

Re: [Google Maps API v3] Manually Adjusting Geocoder Results by Dragging the Pin to New Locations

2017-06-20 Thread Barry Hunter
Sure, why not? There must be code that when it receives the geocoder response, it adds a marker to the map. Just make sure it sets 'draggable:true' on the options for the marker. You must also store the location in the form (in hidden fields?) so can submit. Just have a dragend event on the marke

Re: [Google Maps API v3] driving and walking

2017-05-04 Thread Barry Hunter
Just have two DirectionsService objects (possibly two DirectionsRenderer), and attach them both to the same map. On 4 May 2017 at 01:53, 'arcjpc' via Google Maps JavaScript API v3 < google-maps-js-api-v3@googlegroups.com> wrote: > I want to have both a driving route and a walking route on the s

Re: [Google Maps API v3] angular google maps

2017-05-04 Thread Barry Hunter
Dont know angular specifically, but with the Maps API, you have to *explicitly* open the infowindoer, a click handler somewhere, somewhat like marker.addListener('click', function() { // infowindow.open(map, marker); }); Just have this even open the sidebar

Re: [Google Maps API v3] Is there a way to massively download the satellite google imagery?

2017-04-30 Thread Barry Hunter
Not legally. This would almost certainly be against terms of use. Perhaps approach a imagery provider directly. For example http://www.digitalglobefoundation.org/ On 19 April 2017 at 06:25, Ning LI wrote: > I know google map api provide some way to request for one image given > centroid positi

Re: [Google Maps API v3] Load Heatmap LatLng Coordinates Google Maps API from MySQL database

2017-04-26 Thread Barry Hunter
> > > // This is the LatLng I meant, any possible way to load these from a > database? > > function getPoints() { > > return [ > > new google.maps.LatLng(40.761916,-73.9228569), > > new google.maps.LatLng(42.35047,-71.07613), > > new google.maps.LatLng(42

Re: [Google Maps API v3] Re: Display the information of all markers while clicking a single masterclusterer

2016-11-04 Thread Barry Hunter
There isnt a default implementation. But you should be able to set the zoomOnClick option to false, to disable the auto zoom. Then make a handler for the clusterclick event on the 'map' object, the library triggers this event upon clicks on a cluster. From this event handler can then open a info

Re: [Google Maps API v3] Re: GEOLOCATING NOT WORKING after Safari iOS 10.0.2

2016-10-27 Thread Barry Hunter
> > > https://lf-webbapp.goteborg.se/ > When I try that url the javascript console displays js?...:96 Uncaught InvalidValueError: initialize is not a function among others. You dont have a initialize function in the page. You dont seem to be loading the API asynchronously, so remove the callbac

Re: [Google Maps API v3] Secure Map Populate

2016-10-20 Thread Barry Hunter
Well its in the most general sense, its impossible to make it totally 'secure'. If the data can be 'seen' on screen, it can be copied. Its been downloaded to the users computer, so they can somehow extract it. Particully as the Maps API works in a javascript enviroment, and most browsers its relat

Re: [Google Maps API v3] GEOLOCATING NOT WORKING after Safari iOS 10.0.2

2016-10-20 Thread Barry Hunter
> > > How the heck do I transform my Googlemap webapp to a SSL? > The main thing is probably to contact your hosting company, about getting SSL enabled your hosting account and domain. THe Maps API supports SSL pretty well https://developers.google.com/maps/faq#ssl > Are there costs involved us

Re: [Google Maps API v3] A replacement in the Maps API for the Panoramio Widget API ?

2016-10-11 Thread Barry Hunter
Pretty sure Google dont have a API for accessing 'Maps Contributions' as such. Should add a feature request: http://code.google.com/p/gmaps-api-issues/ On 11 October 2016 at 14:39, Rob McMahon wrote: > Recently Google have announced that the Panoramio site is closing and that > the site functio

Re: [Google Maps API v3] Whats going on with the Markers??

2016-05-16 Thread Barry Hunter
btw, forgot to mention, can find the libraries at https://github.com/googlemaps/v3-utility-library incase you didn't have a copy :) But you should take a copy from github, not link directly to github vcs (or raw). On 16 May 2016 at 12:33, Barry Hunter wrote: > When I access your map,

Re: [Google Maps API v3] Whats going on with the Markers??

2016-05-16 Thread Barry Hunter
When I access your map, there is a 404 for the http://google-maps-utility-library-v3.googlecode.com/svn/trunk/keydragzoom/src/keydragzoom_packed.js request. That being not available probably causes a cascade failure that the JS no longer works. (ie its not coded to account for the fact the keydra

Re: [Google Maps API v3] loading GoogleMapsApi asnc: inheriting from google.maps.OverlayView() not working

2016-04-07 Thread Barry Hunter
Ah, ok, wrong about inheritance. Anyway, still guess you must be calling that code before the Maps API has loaded. The new fuller code doesnt actully show the creation of ProjectionHelperOverlay, but the code still needs to run AFTER the map API loads. ie it should perhaps be in the initialize(

Re: [Google Maps API v3] loading GoogleMapsApi asnc: inheriting from google.maps.OverlayView() not working

2016-04-06 Thread Barry Hunter
> > ProjectionHelperOverlay.prototype = new google.maps.OverlayView(); > That's not really correct. THat is creating the prototype as one 'instance' of OverlayView. (It runs the function, and stores the result - its is an object, but its not complete) Been a while since done inheritance, with the

Re: [Google Maps API v3] Maps returning NAN and not lat() and lon()

2016-02-21 Thread Barry Hunter
How should the maps work? As far as can see, you have two maps in map_hidden_canvas, which are never displayed. Instead the directions are rendered as static maps? Not really following whats broken. On 19 February 2016 at 20:56, Brian Pollock wrote: > I have been using V3.21 which appears t

Re: [Google Maps API v3] Suddenly Google maps not showing up except markers and logo

2016-02-16 Thread Barry Hunter
You have img, object, table { overflow: auto; max-width: 100%; max-height: 100%; } in https://mailingmaker.bpost.be/sites/all/themes/prospection/sass/basis/_general_tags.scss Which applies to every image on the page. *Including the ones inside the map. * The Maps API itself injects: .gm-sty

Re: [Google Maps API v3] Using Routeboxer on android native application

2015-11-22 Thread Barry Hunter
Well the 'routeboxer' code created by a Google Employee is written in Javascript. As such it wont run natively. (well maybe could run the JS in a browser component or something, but sounds hacky) ... however the code could be ported so could run the same algorithm natively. If you read the docum

Re: [Google Maps API v3] Client side geoding libraries

2015-09-29 Thread Barry Hunter
Well geocoding is usually converting a textual address, into a coordinate. They usually need large databases of address data, so a pure client side solution is not really practical. However your mention of pixel, maybe you dont mean traditional geocoding at all? Maybe the Projection classes are w

Re: [Google Maps API v3] Re: Where is the Issue tracker moving to?

2015-08-07 Thread Barry Hunter
> > > I can confirm that this particular tracker will remain read / write for > now (beyond the advertised date), just until we find a new home. > Thank you, thats good to know! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. T

Re: [Google Maps API v3] Grey out unreachable area

2015-01-16 Thread Barry Hunter
There's no 'API' for that if that what you mean. It can be done in the Maps API, but it would need to be done 'yourself'. Would need to figure out the 'boundary' using whatever method you can, and then plot a mask. The mask can infect just be an 'inverted' polygon, ie the non masked area is a hol

Re: [Google Maps API v3] Questions about the new Google My Maps

2014-11-28 Thread Barry Hunter
Also if you can, please include a link to an example map that demonstrates pt 1. An example will help Google debug. On 28 November 2014 at 13:53, Barry Hunter wrote: > Please post this in the main Google Maps forum, it has a category for My > Maps. > https://productforums.google.

Re: [Google Maps API v3] Questions about the new Google My Maps

2014-11-28 Thread Barry Hunter
Please post this in the main Google Maps forum, it has a category for My Maps. https://productforums.google.com/forum/#!categories/maps/custom-maps On 28 November 2014 at 13:44, Rob McMahon wrote: > I have some questions about the new Google My Maps. If this isn't the > right forum for My Maps

Re: [Google Maps API v3] Question about Google maps and FusionTablesLayer

2014-10-28 Thread Barry Hunter
No, a FusionTableLayer, is linked to table within Fusion Tables :) FT, is a Google run service that hosts the data https://support.google.com/fusiontables/answer/2571232?hl=en You could copy your data into FT, and then display it using FusionTableLayer To keep it in sync, would probably use the

Re: [Google Maps API v3] The "new" Google Maps and its relationship with API V3

2014-05-30 Thread Barry Hunter
> > > So the "new" maps.google.com is out for a while, from the surface, it no > longer uses pre-rendered tiles and everything are drawn on the client as > graphics using the vector data streamed from server, could be WebGL and/or > other graphics API. > Yes, its WebGL, but with a fallback to Canv

Re: [Google Maps API v3] Re: Wrapper? Wrapper? What wrapper?

2013-11-22 Thread Barry Hunter
I'm not familar with your data, but that map seems to work. Can zoom out and see markers all over Spain. Zoom in certain location and more become visible btw, your practice of showing a infowindow on hover, makes the map VERY annoying to use! On 22 November 2013 14:54, wrote: > Thanks Barry,

Re: [Google Maps API v3] Re: Wrapper? Wrapper? What wrapper?

2013-11-21 Thread Barry Hunter
> > > > The last demo with over 100 markers with zoom control level in > http://www.demo.eltiempodeunvistazo.com/gmap_v3.htm?lat=55&lon=11, but it > doesn´t work. > That fails due to a javascript error. A function (no_imagen) used in markers is not actully defined. -- You received this message

Re: [Google Maps API v3] Re: Wrapper? Wrapper? What wrapper?

2013-11-21 Thread Barry Hunter
On 21 November 2013 22:24, wrote: > Yes, but they are ramdom markers, not markers read froma an xml archive. > Whats that got to do with markermanager? It just manages the data, doesnt care where it loaded from. > > El jueves, 21 de noviembre de 2013 20:52:51 UTC+1, barryhunter escribió: > >

Re: [Google Maps API v3] Re: Wrapper? Wrapper? What wrapper?

2013-11-21 Thread Barry Hunter
On 21 November 2013 19:43, wrote: > All of my maps with GMarkerManager don´t work. In API v3 there isn´t an > equivalent markermanager which works with more than 20 or 30 markers. :- > This seems to have 1,220 markers included http://google-maps-utility-library-v3.googlecode.com/svn/tags/ma

Re: [Google Maps API v3] Wrapper? Wrapper? What wrapper?

2013-11-21 Thread Barry Hunter
Works now! It reached the UK :) Has it now reached Germany? Get a bunch of messages like Map.addControl is no longer supported in the Google Maps Javascript API v2. Please visit https://developers.google.com/maps/documentation/javascript/v2/v2tov3 to migrate your application to v3. so, its lost

Re: [Google Maps API v3] Re: Wrapper? Wrapper? What wrapper?

2013-11-20 Thread Barry Hunter
It's been flown around the world by plane. It hasn't reached every country yet That map fails for me in all browsers. Still complaining about *GBrowserIsCompatible * On 20 November 2013 19:55, ralfwessels wrote: > hi John, > > it's not working for me, either on FF or Chrome and not with I

Re: [Google Maps API v3] Wrapper? Wrapper? What wrapper?

2013-11-20 Thread Barry Hunter
On 20 November 2013 07:59, geocode...@gmail.com wrote: > Looks like the wrapper went live. As promised simple maps still work: > Like many from Mike Williams' tutorial: > http://econym.org.uk/gmap/example_map.htm > Does that URL work for you? Fails with *GBrowserIsCompatible is not defined *for

Re: [Google Maps API v3] Map showing error "Geocode was not successful for the following reason: OVER_QUERY_LIMIT"

2013-10-10 Thread Barry Hunter
> I got error "Geocode was not successful for the following reason: > OVER_QUERY_LIMIT" when I try to display markers on map. > Isnt that kinda self explanority. You've made too many queries! There is a quota, its not unlimited use. You need to reduce your limit. You appear to be regeocding th

Re: [Google Maps API v3] HTTP referrers for Intranet usage

2013-09-20 Thread Barry Hunter
The 'Google Maps for business' (the corporate licence needed for intranet use) does not use API keys like the Free API :) It uses a ClientID and signature (amougst others!) - pretty sure will get the details when you signup! On 19 September 2013 15:37, Lester Lasrado wrote: > Hi, > > I had a q

Re: [Google Maps API v3] Google Map API v3 limit

2013-08-07 Thread Barry Hunter
> I don't use anything on the Google map with a API key so why would I be > limited. > What? So because you dont use a key, you get unlimited use? That would be mighty convenient. Can you also avoid the Police by not putting a number plate on the vehicle? It might make you harder to track, put d

Re: [Google Maps API v3] Re: Placemark name with superscript

2013-07-02 Thread Barry Hunter
I just tried 0.001 mcg/m³ (using the entity from the link I provided) Seems to work in GEP at least :) On Tue, Jul 2, 2013 at 3:10 PM, gdhuynh wrote: > Thanks Barry. > Still don't know how to apply Unicode in Notepad editor of KML file. > Can you explain further on how to enter into KML file

Re: [Google Maps API v3] Placemark name with superscript

2013-07-02 Thread Barry Hunter
The only way I can think would be to use a Unicode charactor http://www.fileformat.info/info/unicode/char/b3/index.htm might work? KML itself can't define a superscript (or any other formatting) in the On Tue, Jul 2, 2013 at 12:34 PM, gdhuynh wrote: > Hi, > > ** > > I'm trying to ov

Re: [Google Maps API v3] Transaction limits for subdomains

2013-05-31 Thread Barry Hunter
I might get shot for saying this, but the general feeling by deliberately leaving the limits vague, they (as in Google) they dont want you to worry about it. Just setup maps as best fits your situation. Use one key per logical application (even it spans multiple hostnames). For example, if the sub

Re: [Google Maps API v3] Can Web Feature Service (WFS) be implemented with API v3?

2013-05-29 Thread Barry Hunter
Look how OpenLayers does it http://gis.stackexchange.com/questions/7442/javascript-library-to-read-data-from-a-wfs-server In fact OpenLayers has a legimate wrapper around the Google Maps API, so you could use OpenLayers, and the Google Maps API together. On Sat, May 25, 2013 at 3:53 PM, Joseph

Re: [Google Maps API v3] License question advertising and platform (Free license)

2013-05-24 Thread Barry Hunter
On Mon, May 20, 2013 at 5:54 PM, AW wrote: > I've read through both the Terms and Conditions and the FAQ but think that > they both are a bit fuzzy on the subject (and I would like to be sure). > > 1. I recently launched a site which heavily utilizes the Google Maps API > (maps and street view) a

Re: [Google Maps API v3] et the coordinate values of mouse move

2013-04-29 Thread Barry Hunter
Listen to the mousemove event https://developers.google.com/maps/documentation/javascript/events https://developers.google.com/maps/documentation/javascript/reference#Map (scroll down to the events section) https://developers.google.com/maps/documentation/javascript/reference#MouseEvent On M

Re: [Google Maps API v3] Re: Problem loading multiple KML files in a page

2013-04-26 Thread Barry Hunter
parser should be able to load an arbitrary >>>> number of KML files, but they will be rendered as native Google Maps >>>> API v3 objects, so the more objects and more complex the KML worse the >>>> map will perform. >>>> >>>> geoxml3: >

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

2013-04-23 Thread Barry Hunter
consitutes a site or 'application'. > Which comes to 5 request from single ip > IP? What has IP (address?) got to do with it? > If you use sub directories > > Example.com/customer1 > Example.com/customer2 > > Share 25000 request between two customers

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

2013-04-23 Thread Barry Hunter
> Use sub domains. > How does that help? > With version 3 api there is no key attached > The key isnt strictly *required*, but it is recommended https://developers.google.com/maps/documentation/javascript/tutorial#api_key > On Apr 23, 2013 5:35 AM, "James Rich" wrote: > >> We have a custome

Re: [Google Maps API v3] large amount of polygons map api v3

2013-04-15 Thread Barry Hunter
Probably rendering raster tiles would be the most performant You could use Fusion Tables, to do the heavy lifting for you http://support.google.com/fusiontables/answer/2571232?hl=en import all your data into a FT, and use the inbuilt API to render the FT on your map. It can cope with thousands o

Re: [Google Maps API v3] Re: markers with animated gifs don't work in api v3

2013-04-10 Thread Barry Hunter
Guessing, try setting {optimized:false} as part of MarkerOptions. optimized is turned on by default, and renders the markers on a Canvas where possible, animated gives probably dont work on a canvas. On Wed, Apr 10, 2013 at 8:13 PM, 2sb <2sbs...@gmail.com> wrote: > Amazing that i found this li

Re: [Google Maps API v3] subdomain change broke api

2013-04-01 Thread Barry Hunter
Guessing you already sorted this? See the same map on the second link as on the first one. On Mon, Apr 1, 2013 at 2:24 AM, Alpesh P wrote: > Hi all. I am not a web developer but was able to build my company's > website by referencing great resources like the community here at google > groups.

Re: Re: [Google Maps API v3] Re: Advertising

2013-04-01 Thread Barry Hunter
On Mon, Apr 1, 2013 at 7:15 PM, Michael Geary wrote: > I usually open the Styled Maps Wizard and poke around with different > settings until I find what I want: > > > http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html > Sorry, yes should of mentioned that. I used the

Re: Re: [Google Maps API v3] Re: Advertising

2013-03-31 Thread Barry Hunter
On Sun, Mar 31, 2013 at 4:18 PM, Andrew Leach wrote: > On 31 March 2013 15:50, Carlos Montelongo wrote: > > Hi Andrew. > > Can you share a link to your map? > > Have a look at > http://www.achurchnearyou.com/parishfinder.php?=51.5124,-0.0997,17,51.5123,-0.0999,Map > > My markers 1 and 2 are in th

Re: [Google Maps API v3] Get latitude and longitude from Routeboxer?

2013-03-26 Thread Barry Hunter
You have the drawBoxes(boxes) funciton that takes the array of boxes - and in this case draws them on the map The code that AP posted, he put in a for loop like that function - looping over the boxes and then decomposing the coordiantes of the box. So you can eitehr modify that function, or dupli

Re: [Google Maps API v3] Problem loading multiple KML files in a page

2013-03-25 Thread Barry Hunter
, so it can create the right combinations) On Mon, Mar 25, 2013 at 2:57 PM, Juan Francisco Vega Damke < crusi...@gmail.com> wrote: > Okey, is there any way to include 100+ KML's? > > > 2013/3/25 Barry Hunter > >> Generally can only include 5-7 KmlLayer's on a si

Re: [Google Maps API v3] Problem loading multiple KML files in a page

2013-03-25 Thread Barry Hunter
Generally can only include 5-7 KmlLayer's on a single map. This limit is because the URL of the active KMLs has to be put into a URL to load the map tiles. There is a limit to the number of charactors in a URL. If your URLs are particully long, the limit of layers will be less. On Mon, Mar 25, 2

Re: [Google Maps API v3] License question from the FAQ

2013-03-12 Thread Barry Hunter
> If you charge people to place information on your map, wouldn't that imply > that > these people would be in contact with the Google Maps API within the admin > solution > that sets up the home sale? > The FAQ answer doesnt actully say (nor imply) that that the Maps API would actully used within

Re: [Google Maps API v3] How to make a dynamic generated preview thumbnail of an user generated map/route?

2013-03-06 Thread Barry Hunter
Pretty much what the Static Maps API is for :) https://developers.google.com/maps/documentation/staticmaps/ The trick will be distilling down the content of the map, so as not to overwelm the little map (and cause a long URL for the API) - you possibly want to only plot a sample of features on t

Re: [Google Maps API v3] Get latitude and longitude from Routeboxer?

2013-02-07 Thread Barry Hunter
I don't know Ruby, but maybe the missing link is you need to use a 'AJAX' style programming model http://en.wikipedia.org/wiki/Ajax_(programming) Maybe: http://guides.rubyonrails.org/ajax_on_rails.html ? The actual database querying happens in a server script accessed from the webpage. The demo I

Re: [Google Maps API v3] Get latitude and longitude from Routeboxer?

2013-02-05 Thread Barry Hunter
as part of my > > function calcRoute() { > > I wanted to see if this was working. So, at the very end of my script, I > added: > > document.getElementById("south").innerHTML = longsouth; > document.getElementById("west").innerHTML = latwest; > > Sounds like a scope issue. You trying to use the var

Re: [Google Maps API v3] Get latitude and longitude from Routeboxer?

2013-02-05 Thread Barry Hunter
That should work, but it would be more robust to do - you avoid a messy conversion to string. var northeast = bounds.getNorthEast(); var southwest = bounds.getSouthWest(); var lateast = northeast.lat(); var longnorth = northeast.lng(); var latwest = southwest.lat(); var longsouth = southwest.lng()

Re: [Google Maps API v3] Re: Upcoming changes: 3.11 becomes release version on Feb 15; changes to default version provided

2013-02-04 Thread Barry Hunter
> > >> > > Would be nice if us non-business customers could request "3.rel" to > request the current release, especially for production environments. > - Doug > Whats wrong with Regardless of whether you are a Maps API for Business customer or not, you can add v=3 to always receive the current re

Re: [Google Maps API v3] Get latitude and longitude from Routeboxer?

2013-02-03 Thread Barry Hunter
The website for routeboxer http://google-maps-utility-library-v3.googlecode.com/svn/trunk/routeboxer/docs/examples.html has a pretty good example. var boxes = routeBoxer.box(path, distance); for (var i = 0; i < boxes.length; i++) { var bounds = boxes[i]; // Perform search over

Re: [Google Maps API v3] Google Maps TOS Issue for Non Profit

2013-01-06 Thread Barry Hunter
To be honest not sure you 'can' be in compliance. Firstly the (free) Directions API may ONLY be used to display information on a Google Map, on a public website. You cant use it to just get information for use outwith a Google Map. You can relax the requirement for the map to be public by purcha

Re: [Google Maps API v3] "google.maps.MarkerImage" deprecated

2012-12-04 Thread Barry Hunter
Its just an object specification, not an actual class. So can just do something like var marker = new google.maps.Marker({ position: myLatLng, map: map, icon: { url: '/path/to/icon.png', size: new google.maps.

Re: [Google Maps API v3] Invalid query: Data truncated for column 'lat' at row 1

2012-11-02 Thread Barry Hunter
On Fri, Nov 2, 2012 at 11:58 PM, Daniel Montenegro wrote: > Do you know why mysql does not allow me to turn lat lng columns into FLOAT > again? > Nope. Did you get an error message? > I have changed the code as Jeff sugested but now I can't change the column > datatype ... > > If you changed t

Re: [Google Maps API v3] Invalid query: Data truncated for column 'lat' at row 1

2012-11-02 Thread Barry Hunter
http://en.wikipedia.org/wiki/False_precision :) On Fri, Nov 2, 2012 at 6:00 PM, Barry Hunter wrote: > > > > On Fri, Nov 2, 2012 at 5:45 PM, Daniel Montenegro > wrote: > >> Thanks Jeff and Barry, >> >> Actually I've changed the column type to

Re: [Google Maps API v3] Invalid query: Data truncated for column 'lat' at row 1

2012-11-02 Thread Barry Hunter
On Fri, Nov 2, 2012 at 5:45 PM, Daniel Montenegro wrote: > Thanks Jeff and Barry, > > Actually I've changed the column type to VARCHAR and now mysql is working > fine. > lol. You are lucky mysql is so forgiving. > > Do you believe this is ok? > Its 'ok' in that it appears to work. But its rea

Re: [Google Maps API v3] Re: Embeding Google Maps API in a Google Site

2012-10-30 Thread Barry Hunter
You have far more fundamental issues. You can't just put arbitrary javascript into a page directly. It looks like HTML Box might support it. But will need to make changes to the code, eg as noted on the page I linked to onload doesnt work. Once you start putting in the code, the HTML box editor wi

Re: [Google Maps API v3] Embeding Google Maps API in a Google Site

2012-10-30 Thread Barry Hunter
A Google site, doesnt support arbitrary code. Its limited. But it looks like a HTML box could be a Google Maps API based map, subject to making a few changes to your code... http://support.google.com/sites/bin/answer.py?hl=en&answer=2500646 On Tue, Oct 30, 2012 at 8:31 PM, Open Source GIS wrot

Re: [Google Maps API v3] User editable layers at maps.google.com integrated into JavaScript v3 applications - how to refresh cache

2012-09-23 Thread Barry Hunter
> > Is it possible to add a random query string parameter to the end of the > variable goToLoc2 to cause maps.google.com to refresh the cache? Dont you mean rtEditLayer_url ? Ie it is displaying the content where the caching is happening. rtEditLayer_url = rtEditLayer_url + "&rnd=".(Math.Random(

Re: [Google Maps API v3] Re: New Utility Library: Google Earth API

2012-09-11 Thread Barry Hunter
can get the underlying Google Earth instance, with getInstance() so just need to add something like var ge = googleEarth.getInstance(); to the top of that function. Where googleEarth is the global variable containing the GoogleEarth object. On Mon, Sep 10, 2012 at 9:14 PM, Sean Frank wrote: >

Re: [Google Maps API v3] Re: Google Maps and Database

2012-09-11 Thread Barry Hunter
See http://www.geocodezip.com/why-including-a-link-is-critical.html On Tue, Sep 11, 2012 at 1:46 AM, Daniel Montenegro wrote: > But I haven't yet published the map in the web... is it necessary doing so? > > Sorry, but I'm a really begginer at PHP/MySQL. > > Thanks a lot, > > > Daniel > > > -- >

Re: [Google Maps API v3] Quota for non-profit organisation, and what define a non-profit organisation.

2012-09-10 Thread Barry Hunter
The FAQ, https://developers.google.com/maps/faq#usagelimits (which is linked from the Terms, as being the defining document on usage limits) Defines it differently. It specifically says: " Non-profits and applications deemed in the public interest " Not sure a game could be classed as 'in the pub

Re: [Google Maps API v3] convert Google maps v2 to v3 problem.

2012-09-03 Thread Barry Hunter
Please post a link, NOT code. http://www.geocodezip.com/why-including-a-link-is-critical.html -- 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 unsub

Re: [Google Maps API v3] Is the API ignoring version numbers?

2012-08-29 Thread Barry Hunter
On Wed, Aug 29, 2012 at 11:55 AM, mrwongs wrote: > We are requesting for version 3.7 of API > (http://maps.google.com/maps/api/js?sensor=false&v=3.7) > 3.7 is no more. See https://developers.google.com/maps/documentation/javascript/basics#Versioning > and recently get a response which loads

Re: [Google Maps API v3] Reading kml from "my places" at maps.google.com

2012-08-29 Thread Barry Hunter
On Wed, Aug 29, 2012 at 3:16 PM, Joseph Elfelt wrote: >> Barry, > > > Do you have any insight whether we should be using https (instead of http) > to read the MyPLaces KML file? > I have tried doing so but that seems to make things worse. In theory it shouldnt make a difference, can be used inter

Re: [Google Maps API v3] Reading kml from "my places" at maps.google.com

2012-08-29 Thread Barry Hunter
Sorry the URL appears broken in the group. Try this: rtEditLayer_url = "http://173.194.34.96/maps/ms?msid=212925685488873680953.0004b6f5861b51720b824&msa=0&output=kml"; -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to

Re: [Google Maps API v3] Reading kml from "my places" at maps.google.com

2012-08-29 Thread Barry Hunter
The is currently an ongoing issue with Google Maps at the moment. Google are aware and investigating. For the moment suggest rtEditLayer_url = " http://173.194.34.96/maps/ms?msid=212925685488873680953.0004b6f5861b51720b824&msa=0&z=17&ie=UTF8&output=

Re: [Google Maps API v3] Which API to use to mark my clients claims locations?

2012-08-25 Thread Barry Hunter
This sounds like a job for http://www.google.com/fusiontables/Home/ Can just use that directly. Can restrict it so only certain users can view table/map. This bypasses using a Maps API at all. If you want to put it on your own website, and not display the data publiclly, will NEED Maps API Premi

Re: [Google Maps API v3] Re: Google Map Search POIs along Route

2012-06-27 Thread Barry Hunter
Well the example I just posted does exactly that. Actully not quite, its not talking to a mysql database, its actully using sphinxsearch as the 'database'. You need a 'API' that accepts parameters by URL, performs the search, and then returns the results back to the application. Its old, but htt

Re: [Google Maps API v3] Re: Google Map Search POIs along Route

2012-06-27 Thread Barry Hunter
Well I can't help you with your actual code, because I can't read your mind to see it. To be frank, this isnt a 'trival' topic, so if you dont have much experience coding, its might well be trickly to get it right. Might be worth looking for a developer (no I am not offering!) But inspired by th

Re: [Google Maps API v3] Re: Google Map Search POIs along Route

2012-06-27 Thread Barry Hunter
The example on the documentation page http://google-maps-utility-library-v3.googlecode.com/svn/trunk/routeboxer/docs/examples.html shows how to loop though the 'boxes' retured from the boxer call. You would probably fire off a ajax request off to your server, which would perform a bounding box s

Re: [Google Maps API v3] Question about Google Maps API quota (ImageMapType)

2012-06-24 Thread Barry Hunter
Its counting 'map loads' - so its loading the Maps API itself. Map tiles themselves aren't quota-ed So using your own tiles makes no differnece, can still only load the API same number of times. On Thu, Jun 21, 2012 at 8:36 PM, lpdumas wrote: > So i'm using the Google Map API to generate a cu

Re: [Google Maps API v3] HTML 5 API - Supports Andriod( default browser)

2012-06-16 Thread Barry Hunter
caniuse.com On Jun 16, 2012 4:59 AM, "Amit R Prasad" wrote: > Hi, > > I m using HTML5 API, in my web application. Does is support Android). > > -- > *With Regards,* > * * > *Amit Prasad* > Software Engineer > Meditab Software Pvt Ltd, > Ahmedabad > > -- > You received this message because you ar

Re: [Google Maps API v3] Re: Area of a Rectangle

2012-06-14 Thread Barry Hunter
> > There is no "getPath()" method for the google.maps.Rectangle class to find > the path of the rectangle drawn with the Drawing Manager. No. But pretty trival it make one yourself. Get the bounds, from that get coordinates of opposing corners. Use them to build a new circular path. -- You rec

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

2012-06-14 Thread Barry Hunter
The clientLocation component of the Google Loader has been depreciated. There are a number of APIs providing this sort of "ip2location" service - you will have to use a non Google API. On Thu, Jun 14, 2012 at 3:02 PM, Amit R Prasad wrote: > Hi Friends, > > I am trying to get Current Location L

Re: [Google Maps API v3] Grid overlay on to map

2012-06-07 Thread Barry Hunter
Probably a big late for this thread, but Bill has ported his grids to v3... http://www.bdcc.co.uk/Gmaps/ll_grat_v3_demo.htm More... http://www.bdcc.co.uk/Gmaps/BdccGmapBits.htm On Thu, Jan 26, 2012 at 9:28 AM, tezz wrote: > Do someone have an example of a custom grid overlay for v3? I'm > try

Re: [Google Maps API v3] Maps Javascript API and My Places

2012-05-23 Thread Barry Hunter
When viewing the custom map, you should have a "KML" link just under the description. Grab the URL of that link. Can then use it directly with KmlLayer to display the content on a API based map. On Tue, May 22, 2012 at 6:19 PM, Paulo Fabiano Langer wrote: > Hi, everybody! > The Marketing depart

Re: [Google Maps API v3] Google Maps API – map of the cities according to the “color” of the electricity tariff

2012-04-23 Thread Barry Hunter
On Mon, Apr 23, 2012 at 5:14 AM, Alan Smith wrote: > Hey, it's coursework ... and you're asking us to do it for you where's > the learning in that? Maybe the lessen is actually to learn about the art of grovelling? failed the test tho! Back to the drawing board. This is spot-able as a home

Re: [Google Maps API v3] Re: KML files of US cities and parks

2012-04-20 Thread Barry Hunter
You are basically asking the internet to do your research for you, with nothing offered in return. Good luck! On Fri, Apr 20, 2012 at 7:20 AM, Dom wrote: > Hi, > > Nobody has an answer ? > > Dominique > > Le lundi 16 avril 2012 23:57:34 UTC+2, Dom a écrit : >> >> Hi, >> >> Does anyone know wher

Re: [Google Maps API v3] Re: KML styleurl's intermittently working / not working when displaying kml using Google maps

2012-04-19 Thread Barry Hunter
Pretty sure this is not a problem with the KML as such. Rather a limitation of Google Maps. It will only show a certain amount of 'styled' content. Then it defaults back and uses unstyled icons etc. Google havent been forthcoming on what the limits are, and how they enforced (per tile, per kml et

Re: [Google Maps API v3] Regarding Google Map service api

2012-04-16 Thread Barry Hunter
Well you can just do... http://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&sensor=SET_TO_TRUE_OR_FALSE";>

Re: [Google Maps API v3] Creating Google Maps Clusters by type

2012-04-07 Thread Barry Hunter
I think you can have multiple markerclusters on one map. So each one clusters a different type of marker. The only issue, is that the cluster markers may end up overlapping (or even being exactly on top of each other) - the two clusterers wont be aware of each other to avoid placing markers on to

Re: [Google Maps API v3] pegman and static images when no streetview

2012-04-06 Thread Barry Hunter
The Photos layer (from flickr/panoramio and picasaweb) intergrated into Pegman from Google Maps - is not available in the API. You can however access Panoramio photo layer https://developers.google.com/maps/documentation/javascript/layers#PanoramioLibrary On Fri, Apr 6, 2012 at 10:02 PM, dbrb2

Re: [Google Maps API v3] How to Add Google 8-bit NES Quest Maps as an Overlay?

2012-03-31 Thread Barry Hunter
Honestly dont know the legality of it, - and it will probably only work for a day, but you could perhaps just use the tiles directly http://mt0.google.com/vt/lyrs=8bit,m@17400&hl=en&src=app&x=36&y=48&z=7 Can use that in a Image Map Type https://developers.google.com/maps/documentation/javascr

Re: [Google Maps API v3] API-Key

2012-03-28 Thread Barry Hunter
> http://code.google.com/apis/maps/documentation/javascript/tutorial.html#Obtaining_Key"; Change to English on that page, using the dropdown at the bottom of the page. Unfortunately the other language documentation hasnt been updated. - Via: http://translate.google.com/ Wechseln Sie in

Re: [Google Maps API v3] Maps on Android

2012-03-27 Thread Barry Hunter
Can use the webservices directly via a HTTP interface https://developers.google.com/maps/documentation/webservices/ (that caters for directions and geocoding. No idea what "region biasing for displays" means) On Tue, Mar 27, 2012 at 5:40 PM, sgiddings wrote: > I have been developing an applicati

Re: [Google Maps API v3] Showing the map centered on a country by IP location

2012-03-23 Thread Barry Hunter
You need a IP - to - Location service http://www.google.com/search?q=ip2location ... that gives you a country Once you have a country, can use the GoogleMaps Geocoder, to get a 'view-extent' for the country - so can center and zoom the map. On Fri, Mar 23, 2012 at 3:25 PM, az az wrote: > Hi a

Re: [Google Maps API v3] GGroundOverlay in v3?

2012-03-12 Thread Barry Hunter
google.maps.GroundOverlay :) http://code.google.com/apis/maps/documentation/javascript/overlays.html#GroundOverlays On Mon, Mar 12, 2012 at 7:10 PM, mariovi wrote: > Hi, > what is the equivalent of GGroundOverlay for version API version 3??? > thanks a lot > mariobi40 > > -- > You received this

  1   2   3   4   >