There is a shadow property for markers.
http://code.google.com/apis/maps/documentation/javascript/reference.html#MarkerOptions
On Dec 14, 10:31 am, mp- wrote:
> I'm using the new functionality of Animation (bouncing) found in
> Google Maps JavaScript API v3.
>
> http://code.google.com/apis/maps/d
Except in Firefox they disable the option to allow javascript to
create a contextmenu...by default...making contextmenus just about
useless.
So any user using FF won't see your menu unless they manually go and
allow that in the settings.
Options -> Content -> Allow Javascript (Advanced) -> Allow S
I'll tell you what I do.
I don't use the info window. I use a projection map to get the pixel
coordinates of the marker where I want the "info window" to show up
and use my own markup, using jquery to then hide/show/position it.
You have much more control anyway. Like I don't like the map to
scro
> You can use any of the 200 markers shown
> here:http://www.google.com/fusiontables/DataSource?snapid=99003
Interesting, there's a swastika icon on the left of that page, and its
called "temple_jp"?
On Dec 7, 11:20 pm, Nick Doiron wrote:
> Google's answer on marker types
> (http://www.google.c
google.maps.event.addListener(markerObject, 'click', function(e){
alert('clicked');
});
or, to trigger an event that has a listener already attached from like
jQuery,
$('#some-link').click(function(e){
e.preventDefault();
google.maps.event.trigger(markerObject, 'click');
});
Check out t
Do you have some sort of test condition to determine when to use which
icon?
var customIcon = (some test if DUI) ? 'arrestlist/markers/dui.png' :
'arrestlist/markers/bluesq3.png';
var marker = new google.maps.Marker({
map: map,
position: point,
icon: customIcon
difference between the 2).
On Dec 6, 6:27 pm, "geocode...@gmail.com"
wrote:
> On Dec 6, 6:20 pm, CroNiX wrote:
>
> > I understand and agree with the necessity for not removing the google
> > branding from a map.
>
> > I am wondering if there is any sort of ex
I understand and agree with the necessity for not removing the google
branding from a map.
I am wondering if there is any sort of exception for creating an
"overview" map, like google uses on the main map page
(maps.google.com), since they are of the exact same map? Leave the
main map alone with
Start googling for shape files for your city. You can convert them to
a polygon. I would start with your government. In the US, we can get
most of this data from the USGS for our country, or others that make
use of it.
On Dec 6, 5:45 pm, freak wrote:
> i would prefer the exact shape of my city
Another option might be to have different sized icons, and at
different zoom levels you can loop through your markers and change the
icon to a smaller/larger one.
On Nov 25, 12:23 am, dbrb2 wrote:
> I will look into the markerManager - cheers
>
> Wrt size, I was trying to find a medium between to
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
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
Never used markerManager, but I see you create 2 markers but are only
adding the 2nd marker to the manager
mgr.addMarker(marker2,0,17);
try adding the first one you created too.
On Nov 23, 4:33 pm, ozgalosch wrote:
> The correct file.
>
> index.html
> 1KViewDownload
--
You received this messa
Sounds like a job for ajax.
On Nov 22, 11:45 pm, Chathura Gunasekara wrote:
> My xml file updates with the changes to the data base how can I update
> the map when the xml changes. I am following the
> articleshttp://code.google.com/apis/maps/articles/phpsqlajax_v3.html
> can any one please help
Durrr you're right. I got used to this xml parser plugin and it
didn't trigger for some reason and I only saw the raw points with no
xml markup. I apologize.
On Nov 22, 2:09 pm, "geocode...@gmail.com"
wrote:
> On Nov 22, 11:32 am, CroNiX wrote:
>
> > This
This: http://www.koolbusiness.com/kml
is not a kml file.
On Nov 22, 10:41 am, Niklasro wrote:
> Hello
> My KML markers don't display. Could you help troubleshooting where the
> failure is? The address to the map ishttp://www.koolbusiness.com
> Thanks in advance
> Niklas R
--
You received this m
},
tileSize: new google.maps.Size(256, 256),
isPng: true
});
into your initialize function. I think I was right initially. You
are using overlay.getProjection() here, but you don't initialize it as
an google.maps.OverlayView() object until your initialize() function,
which
scratch that. I hate reading code in these forums.
On Nov 21, 1:38 pm, CroNiX wrote:
> Try changing your overlay declaration from
> var overlay;
> to
> var overlay = new google.maps.OverlayView();
> overlay.setMap(map);
> overlay.draw = function () {
>
Try changing your overlay declaration from
var overlay;
to
var overlay = new google.maps.OverlayView();
overlay.setMap(map);
overlay.draw = function () {
if (!this.ready) {
this.ready = true;
google.maps.event.trigger(this, 'ready');
}
};
On Nov 21, 7:27 am, so0ly wrote:
>
Instead of a marker for each, why not put the people at the same
location in the same infowindow? One location, one infoWindow
(containing multiple entries for people).
On Nov 19, 3:58 pm, Jeremy Blaney wrote:
> Hi all,
>
> On my website I have a map that pinpoints each user's approximate
> loca
, that is interesting indeed. However, that would mean that I'd need
> an event fired for every marker. But maybe there's another way of
> getting to that object/information... It's weird that they (obviously)
> have the information but don't expose it... Thanks!
Check out the MarkerClusterer
http://code.google.com/p/google-maps-utility-library-v3/wiki/Libraries
On Nov 19, 2:52 pm, Morgana wrote:
> Hi folks,
>
> I'm new to JS and to Google maps, so go easy on me! (although not new
> to coding)
>
> I'm rapidly get my head around it, but one thing that I c
er, 'click', function() {
var pb = this.pixelBounds;
var iconX = Math.abs(pb.l) + Math.abs(pb.q);
var iconY = Math.abs(pb.n) + Math.abs(pb.o);
alert('Width: ' + iconX + ', Height: ' + iconY);
});
On Nov 19, 2:18 pm, CroNiX wrote:
> Is it the pix
Is it the pixel coordinates you are after for the anchor location?
This might help.
var containerHelper = null;//set in global space
//call this somewhere in your map init function to create an overlay
that you can use to translate the coordinates
function init_helper_container(){
contain
I assume you have a bounds object that you are checking against?
Maybe try adding the new point to it.
boundsObject.extend(newPoint) so this new point will be within the
bounds. Hard to say with no code to look at.
On Nov 19, 5:03 am, Chris wrote:
> I've got a map set up with a boundary around m
I get the same in FF. I get the airport icon but no poly's, click
refresh and it works. Its possible the kml isn't finished retrieving
the first time and the 2nd time its cached so it loads right up.
Maybe put a delay to help ensure its loaded?
Just a side note: I'd use a different color in your
Is this every version of IE for windows/mac out there or is there a
specific platform and version you are using that isn't working?
On Nov 18, 7:22 am, Sebastián Caggiano wrote:
> Hi, I'm having trouble with internet explorer since when I execute the
> page (asp.net development service hosted) it
Its scary when you pull up a map example and its blocks from where you
live :)
Theres a few ways to do this. If you are only wanting to open the
first one, try something like this. Add a 3rd parameter to your
createMarker function to indicate whether to open this marker. Then
in your app, set t
most likely it is an issue of scope due to where you are initially
declaring
var markerCluster = new MarkerClusterer(map,allMarkers, {gridSize: 5,
zoomOnClick: false});
It needs to be global.
try doing:
var markerCluster = null; at the very TOP of your code before you do
anything else. Most like
Did you try setting up a proper event handler in the head of your
document then instead of using [frowned upon] inline code?
google.maps.event.addListener(document.getElementById('your_anchor_id'),
'click', function() {
map.setCenter(new google.maps.LatLng(37.020098,-92.373047));
map.setZ
probably just:
map.setCenter(new google.maps.LatLng(37.020098,-92.373047));
On Nov 16, 9:22 am, Yellow Lemon wrote:
> Sorry that the text was translated by an interpreter
>
> Tell me please how to make html link when clicked, would open area of
> the map coordinates.
>
> For example, in version 2
Is there a more efficient way to detect if any part of a polygon is in
the current map bounds than to cycle through the polygons' points and
manually test each point or is there a better way? I did not see a
native way to test a polygon like you can with a point using
contains(). The docs say con
http://code.google.com/apis/maps/documentation/javascript/reference.html#Map
map.setCenter(latlng:LatLng);
map.setZoom(zoom:number);
or use map.panTo(latLng:LatLng); to animate the moving of the map to
that point.
On Nov 11, 2:46 pm, Pil wrote:
> Is it possible to zoom in at a given point?
>
> L
I understand that the maps must be publicly accessible. For the most
part there is no problem with that, but how do you handle a backend
(private) that uses the maps in order to be able to input data so that
it can be seen by the public?
For instance, a map of a state in the backend that allows t
Check out the v3 Demo Gallery:
http://code.google.com/apis/maps/documentation/javascript/demogallery.html
Specifically:
http://gmaps-samples-v3.googlecode.com/svn/trunk/single-infowindow/single-infowindow.html
On Nov 9, 12:20 am, nathanblogs wrote:
> Hi,
>
> I am trying to add the default infow
I haven't tried this, but I bookmarked this page as I thought it might
come in handy some day...
http://efreedom.com/Question/1-3818016/Google-Maps-V3-Limit-Viewable-Area-Zoom-Level
On Nov 5, 5:30 am, randomblink wrote:
> Question for the group...
> I work for City Government, as the Addressing
Thank you a million. I knew it was the terminology I was using while
trying to search.
On Oct 30, 2:26 am, Rossko wrote:
> Magic wordhttp://en.wikipedia.org/wiki/Convex_hull
>
> Search for algorithms
--
You received this message because you are subscribed to the Google Groups
"Google Maps Jav
If you have a set of gps coordinates, how do you find only the ones
that make up the outer boundary? I have a lot of datasets that make
up regions for a company, but there aren't any boundaries...just all
of the individual points that make up the solid region. I want to
figure out the outer bound
38 matches
Mail list logo