Thank you, Larry. :D
--
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...@g
This is super helpful, thanks Andrew.
On Nov 24, 8:14 pm, Andrew Leach wrote:
> On Nov 24, 9:46 am, Wear wrote:
>
>
>
> > - I have a supplier database of 100K records, all these data are
> > pushed from an internal admin (content management with login) system
> > where my internal staff can man
Do your markers need to be that big? You might also look into the
MarkerClusterer. It won't scale your icons, but it will "group" icons
that are touching until zoomed in far enough that they don't touch
then they show up normally.
On Nov 24, 5:13 pm, dbrb2 wrote:
> From what I have read both he
>From what I have read both here and elsewhere, this is not possible,
save by looping through every marker when zoom level is changed - but
just to check:
Does anyone know of a way to scale markers as a user zooms in / out
I have a map full of markers at http://cycleHire.eu/mobile that look
fin
I would like to overlay the Polyline of a route obtained by the
Directions API with a second Polyline which shows the completed portion
of that route based on a specified distance (geolocation information is
not available). For example, if a user selects a route from Los Angeles
to New York, I woul
Thank you for having a look.
Actually I tryed both setCenter and panTo methods, but none had any
effects. I'm new to the v3 API and quite limited when it comes to
Javascript
@Rossoko, good to know, I'll increase the timer fire delay
So here is the code I used (the map on the url provided shows
Not sure if it would work, but you could try a panTo(marker) and maybe
listen for the dragend event (this is the part Im not sure about
because I don't know if this fires on a panTo event because the "user"
isn't dragging the map) to fire off your next marker creation/panTo
and so on.
On Nov 24, 1
> http://www.retromundi.com/
It'll probably work better with a bit of slimming down?
In FF2 I get a map that keeps recentering but no markers, I think is
simply processing too much and there is no time for the browser to
render map tiles, marker, infowindow ec. before the next event.
--
You rece
Thank you so much for that, It worked perfectly.
On Wed, Nov 24, 2010 at 3:17 PM, geocode...@gmail.com
wrote:
> On Nov 24, 3:41 pm, kevin simmons wrote:
> > My expected results should be when you go to the page, it shows your
> > location. It will get this information from my db. I will be addin
> So far, zIndex doesn't seem to help me...
Yes. This is tricky. The markers are created after labels in DOM
though they are created before labels in the code.
So you should set individual increasing z-index for each element like
- first marker: 0
- its label: 1
- second marker: 2
- its label: 3
On Nov 24, 4:19 pm, Esa wrote:
> Sorry, I forgot z-index.
>
> API sets the the z-index of the marker depending on latitude. You
> cannot read that z-index value by getZindex (for some reason). It
> returns 'undefined' unless you set the value yourself by setZindex().
>
> My idea above assumes that
>http://maps.jeradweiner.com/landuse.html
Something like this might work.
Land Use Map - Complete Streets Opportunites
.
Ralph
-
www.easypagez.com/maps/map_index.html
www.easypagez.com/maps/v3_basicmap.html
--
You
On Nov 24, 3:41 pm, kevin simmons wrote:
> My expected results should be when you go to the page, it shows your
> location. It will get this information from my db. I will be adding a
> little php to handle this.
> I am not too familiar with jsp, so the following code might look stupid
> but, I we
On Nov 24, 3:08 pm, Adam Bengtson wrote:
> Currently I have an overlay of all of the state borders, which I am
> retrieving from a DB(mySQL) and drawing the polygons on to the map. Now
> on click I would like info window to pop up. Here is the click listener:
>
> google.maps.event.addListener(poly
Ah - got it!
I was passing in the path to an image for the icon property, which
worked, but what I ought to have done was pass in a MarkerImage object,
with the anchor and origin set at that level!
Fine now :-)
--
You received this message because you are subscribed to the Google Groups
"Googl
Hello - I have a circular icon(s), dimensions 90x90
I want to set the anchor to the centre of the circle, so have:
var origin = new google.maps.Point(0,0);
var anchor = new google.maps.Point(45,45);
var size= new google.maps.Size(90,90);
new google.maps.Marker(
{ position: latlng,
map: map,
t
You're right about getZIndex(), it returns 'undefined' unless I
specified something manually.
Using overlayImage...
...I tried to manually set a zIndex of 1 to the markers and a zIndex of
1 to the labels and it doesn't change a thing, labels are still hidden
behind markers (and obviously markers
Amber,
I have been trying to do the same thing, have you had any success with
this? If so could you please share any code you can that can help me.
Any information here would be greatly appreciated.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScr
Sorry, I forgot z-index.
API sets the the z-index of the marker depending on latitude. You
cannot read that z-index value by getZindex (for some reason). It
returns 'undefined' unless you set the value yourself by setZindex().
My idea above assumes that marker and its label have equal z-index.
Yo
I'm looking at this tutorial (
http://code.google.com/p/geo-autocomplete/ ) and got it working fine.
You can see my results here : http://www.trackie.com/test-mapping/
BUT the results it returns isn't great. I am trying to make it work
more like the auto-complete text box on http://maps.google.ca
... but when I use overlayImage, all the labels are behind the markers
(I updated my example).
That's my only issue left... and I don't know what to do to solve this.
Thanks, I appreciate your help!
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaS
Yes guys - please file a feature request on the issue tracker and star it.
Cheers
Chris
On Thu, Nov 25, 2010 at 6:30 AM, Esa wrote:
>
>
> On Nov 24, 8:03 pm, Pil wrote:
> > event.pixel are the container coordinates of event.latLng. It's easy
> > to use because no further translations are neces
I think that overlayImage pane might fix that issue. So the labels and
markers would lay on the same pane (div). Currently all the markers
are behind all the labels.
Your createMarker() first appends a marker and then the label on it.
Second time createMarker is called a new marker would be layed
My expected results should be when you go to the page, it shows your
location. It will get this information from my db. I will be adding a
little php to handle this.
I am not too familiar with jsp, so the following code might look stupid
but, I went to the link you sent me earlier in the day and tr
http://code.google.com/apis/maps/documentation/javascript/services.html#Geocoding
But you shouldnt be geocoding a known address on every page load.
On 24 November 2010 20:14, kevin simmons wrote:
> I want to change it from latLng to address in the following code:
>
> var geocoder;
> var map
with out more context, my best guess is that I believe:
infowindow.open(map, poly);
should be :
infowindow.open(map);
cheers, w
--
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
Hi,
I am having trouble with my map sizing correctly on my page. I'm not
an experienced coder which will be evident from looking at my source
code. I've cobbled together this map by combining a few different
example codes I've found online.
The trouble I'm having is I would like the map to take
I want to change it from latLng to address in the following code:
var geocoder;
var map;
function initialize() {
geocoder = new google.maps.Geocoder();
var latlng = new google.maps.LatLng(-34.397, 150.644);
var myOptions = {
zoom: 8,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
But
floatShadow did it!
overlayImage displays the label behind the image, so I can't see it.
I have only one more issue then.
In my example above, I added three markers.
The InfoWindow now display correctly when I click anywhere on the
marker (thanks to you)... but all labels are stack on top of each
Currently I have an overlay of all of the state borders, which I am
retrieving from a DB(mySQL) and drawing the polygons on to the map. Now
on click I would like info window to pop up. Here is the click listener:
google.maps.event.addListener(poly, "click", function(event){
alert('1');
var infowin
Hello
I'm new to this group, and I really need your help.
My v3 map shows markers dynamically, one after the other with a
javascript timer
It's almost perfect
but I can't get it to center the map on each marker
You can have a look at it on this page (middle of the page)
http://www.retromundi.com/
I think that example would work perfect if you try to append the label
on a lower pane. Now the label is appended on floatPane (pane 6) that
is above overlayMouseTarget (pane 5) that gathers clicks and
mouseovers.
Try floatShadow (pane 4) or overlayImage (pane 3).
http://code.google.com/apis/maps
If you are looking for markers of specific things like shops etc,
perhaps you could use the (points of interest) POI bit of the API? i
see there is a medical and a businesses POI. this would enable you to
create a basemap of your features emphasised on a map. If you are
looking to actually extract
On Nov 24, 8:03 pm, Pil wrote:
> event.pixel are the container coordinates of event.latLng. It's easy
> to use because no further translations are necessary when this
> coordinates are needed.
OK, I realized the value of the property. Even 'mousemove' returns the
event object with both of those
Hi Esa,
I did create one custom Overlay in the past (subclass of OverlayView)
to display a tooltip over a marker, and the link your provided was one
of the examples which I based my code upon. In fact, I did try to use a
custom Overlay again to display a label on the marker... see my example
here:
Agreed, I'd star this.
On Nov 24, 1:22 pm, "geocode...@gmail.com"
wrote:
> On Nov 24, 10:03 am, Pil wrote:
>
> > event.pixel are the container coordinates of event.latLng. It's easy
> > to use because no further translations are necessary when this
> > coordinates are needed.
>
> > Otherwise on
On Nov 24, 10:03 am, Pil wrote:
> event.pixel are the container coordinates of event.latLng. It's easy
> to use because no further translations are necessary when this
> coordinates are needed.
>
> Otherwise one would have to translate event.latLng manually to pixel
> coordinates using a method pr
On Nov 24, 9:34 am, Kevin wrote:
> I am loading KML onto my map. I use preserveViewport to preserve the
> bounds and zoom of the map. That works as expected.
> After loading the KML, I set a timer that after a period of time,
> reloads the same KML using preserveViewport again. This time the map's
event.pixel are the container coordinates of event.latLng. It's easy
to use because no further translations are necessary when this
coordinates are needed.
Otherwise one would have to translate event.latLng manually to pixel
coordinates using a method provided by MapCanvasProjection.
On Nov 24,
I have understood that event.pixel is a Point representing pixel
coordinates in map . Geographic location doesn't change the value.
--
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
I am loading KML onto my map. I use preserveViewport to preserve the
bounds and zoom of the map. That works as expected.
After loading the KML, I set a timer that after a period of time,
reloads the same KML using preserveViewport again. This time the map's
view is changed to fit the contents of th
On Nov 24, 5:38 pm, Canam Group wrote:
> My question should be more "How to override the onAdd(), draw() and
> onRemove() methods of google.maps.Maker?".
Those are methods of OverlayView not of Marker, Polygon, Circle or any
native overlays.
http://koti.mbnet.fi/ojalesa/v3/v3_methods_nightly.ht
My question should be more "How to override the onAdd(), draw() and
onRemove() methods of google.maps.Maker?".
I did a test with the "setTitle" method and my alert is displayed (and
the parent method called):
LabeledMarker.prototype.setTitle = function(title) {
alert('setTitle');
google.maps.Marke
Hi,
I'm trying to convert the very useful LabeledMarker class to Google
Maps API V3:
http://gmaps-utility-library-dev.googlecode.com/svn/tags/labeledmarker/
I used it in my V2 map... but I want something similar in my V3 map.
I read Mike's article about extending GMarker:
http://www.googlemapsboo
On Nov 24, 4:57 am, "geocode...@gmail.com"
wrote:
> On Nov 24, 1:04 am, Bathildis wrote:
>
> > Android developer use 'getFromLocationName'.
>
> > How can I search an address to use a building name in JavaScript?
You might investigate the Places API:
http://code.google.com/apis/maps/documentation
On Nov 24, 1:04 am, Bathildis wrote:
> Android developer use 'getFromLocationName'.
>
> How can I search an address to use a building name in JavaScript?
>
> It supports only an address search?
Yes. Geocoders only find geographic locations for addresses. Reverse
geocoders find addresses from ge
On Nov 24, 12:08 am, ozgalosch wrote:
> I am trying to implement the MarkerManager script, but it won't load.
> The online examples works, it's just my setup at home/server that is
> not. A reduced example can be found here:
>
> http://www.mip-map.se/archive/gmaps/markermanager.html
I get a javas
>I updated the script to v3 on the server, but it still won't load...
Try this, it worked ok for me
var mgr = new MarkerManager(map);
google.maps.event.addListener(mgr, 'loaded', function(){
var marker2 = new google.maps.Marker({position: latlng2});
mgr.addMarker(marker2,3,17);
});
On Nov 24, 9:46 am, Wear wrote:
>
> - I have a supplier database of 100K records, all these data are
> pushed from an internal admin (content management with login) system
> where my internal staff can manage the information to display
> externally. I plan to geocode their address into Lat/Long in
On Nov 24, 11:43 am, Mark Burland wrote:
> Thanks for your quick reply.
>
> I had to hide that page as it was displaying the old location, here is the
> page that contains the map
>
> http://www.amccomms.co.uk/content/view/46/133/
I don't get an error with that page, so everything is working.
>
Thanks for your quick reply.
I had to hide that page as it was displaying the old location, here is the
page that contains the map
http://www.amccomms.co.uk/content/view/46/133/
if you Google us on the web our new location appears as it should do.
The website address hasn't changed, I would lik
On Nov 24, 11:33 am, Mark Burland wrote:
> Hi, I'm trying to update my Google API map on my websitewww.amccomms.co.uk,
> currently running V2.
If you're currently running Version 2, then it's better to post to the
Version 2 Group at http://groups.google.com/group/google-maps-api?hl=en_US
Version
Hi, I'm trying to update my Google API map on my website www.amccomms.co.uk,
currently running V2.
I generate a new key embed the script into my index.php, the browser
then says this key does not work.
I have already updated my new business location which displays fine on
the web, but I now need
Hi, I'm trying to update my Google API map on my website www.amccomms.co.uk,
currently running V2.
I generate a new key embed the script into my index.php, the browser
then says this key does not work.
I have already updated my new business location which displays fine on
the web, but I now need
Hello, I'm trying to learn how to use the javascript api and need a
hint on a problem I encountered.
By sticking together some api examples, I have written a page which
shows a google map and it's related streetview, with the aim of using
it on Nokia internet tablets (i.e. N900, N800 and N810) whi
The legend does not have to be within the map, it may be outside on
the HTML page as a button.
I do not know how to do that when you press a button outside the map,
a marker appear and others disappear.
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Goog
Android developer use 'getFromLocationName'.
How can I search an address to use a building name in JavaScript?
It supports only an address search?
Please, help me!!
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to t
Hi,
I want to appear on my map legend, and when I check one I want to
appear a few markers (visible = true) and markers disappear previously
shown (visible = false)
How could I do this?
Thank you very much
--
You received this message because you are subscribed to the Google Groups
"Google Map
Hi,
I am new to Google Map API. I just wanted to check if anyone knows
that if the following implementations require Google Map Premier
License?
- I have a supplier database of 100K records, all these data are
pushed from an internal admin (content management with login) system
where my internal
I updated the script to v3 on the server, but it still wont load...
--
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, sen
Check out the Places API:
http://code.google.com/apis/maps/documentation/places/
On Wed, Nov 24, 2010 at 2:07 AM, tmays wrote:
> Now that the local search api is deprecated what do I use?
>
> This example is exactly what I want to do:
> http://gmaps-samples-v3.googlecode.com/svn/trunk/localsea
> http://www.mip-map.se/archive/gmaps/markermanager.html
You are loading the version of MarkerManager for the v2 Maps API ; it
won't work with v3.
See
http://google-maps-utility-library-v3.googlecode.com/svn/tags/markermanager/1.0/
--
You received this message because you are subscribed to the G
I am trying to implement the MarkerManager script, but it won't load.
The online examples works, it's just my setup at home/server that is
not. A reduced example can be found here:
http://www.mip-map.se/archive/gmaps/markermanager.html
--
You received this message because you are subscribed to t
As far as I see all event listeners that are returning the documented
property event.latLng are also returning the undocumented property
event.pixel.
This seems a good idea because developers can often use this pixel
value directly without translating the latlng coordinate via
MapCanvasProjection
64 matches
Mail list logo