Thank Rossko.
I'm a Javascript newbie, i tried to implement the prevent function in many
different ways but i still have the same problem.
I should be thankful if you can assist me with this. Thanks
--
You received this message because you are subscribed to the Google Groups
"Google Maps Java
I got the same Firebug warning when using polylines. Lawrence's
solution for polygons works for polylines too:
BEFORE
mypolyline = new google.maps.Polyline({
strokeWeight: 2,
strokeColor:"#ff",
strokeOpacity:0.5
});
mypolyline.setMap(map);
mypolyline.setPath(new google.maps.MVCArray([path]));
I agree Rossko that you can set the infowindow content at the moment
of opening without any special event. It is often done in marker
'click' handler
I would save the user input in real time using 'change' events of text
fields and 'dragend' events on the map.
--
You received this message becaus
(translation)
> Is it possible to implement the google search bar with google maps api
> V3?
> if so, can anyone give an example?
http://gmaps-samples-v3.googlecode.com/svn/trunk/localsearch/places.html
--
You received this message because you are subscribed to the Google Groups
"Google Maps Ja
> just i want to define sectors in google maps recovering addresses and
> roads for each sector.
The Google maps API provides no way to get all the roads and addresses
for a given area.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3"
> var t = "0";
...
> directionsService.route(request, function(response, status) {...
This fires the request to Google
> document.form1.mytext.value=t;
This sets '0' in your form.
Some time later the result arrives back from Google, and now the
callback function is run.
>t = "He
Hi there,
This is something I've only recently noticed and can only think it was
brought on by an API update. Not sure if it's a bug, but thought I
should bring it up in case someone else runs into the same issue.
I had a polygon construct with the following options:
myPoly = new google.maps.Pol
hi,
just i want to define sectors in google maps recovering addresses and
roads for each sector.
thx very much for your answer.
On 25 avr, 14:05, "geocode...@gmail.com" wrote:
> On Apr 24, 1:28 am, mouadh wrote:
>
> > hi,
> > i want to scan a map by drawing and defining some object like
> > tagg
Buenas,
¿es posible implementar la google search bar en google maps con la api
V3?
de ser así, ¿alguien puede poner un ejemplo?
Agradeceria respuestas en castellano, pues en otro idioma me cuesta
entenderlo.
Un saludo.
--
You received this message because you are subscribed to the Google Group
> So, from that code, it will do a fitBounds only if the bounds are
> available. Otherwise, the fitBounds is not executed. Is there a method to
> clear out the mapBounds for the map?
MapBounds is not a property or method of an API map object ; it is a
property that your code creates and assigns
Thanks so much Michael! The explanation was awesome and the code change as
you've suggested did the trick.
--
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
Just a minor update to my reply - the *}* character highlighted below was a
copy and paste error, not part of the code you should replace.
On Mon, Apr 25, 2011 at 3:06 PM, Michael Geary wrote:
>
> You could easily fix that by changing this bit of code:
>
> if( currentMapBounds )
> cu
I can confirm that embedded Flash content is not working in
infowindow's in Firefox 4 for OSX either. This includes iframe YouTube
embeds. I haven't found a workaround but would be very interested in a
solution.
On Apr 7, 11:56 am, bobemond wrote:
> Firefox 4 doesn't seem to be able to display Fl
On Apr 25, 2:39 pm, CSharp wrote:
> I'm currently running FireFox 3.6.3 with FireBug 1.6.1
FYI - native JSON support was added to Firefox in 3.5:
https://developer.mozilla.org/En/Using_native_JSON
-- Larry
--
You received this message because you are subscribed to the Google Groups
"Google
I'm currently running FireFox 3.6.3 with FireBug 1.6.1
--
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
g
On Apr 25, 2:24 pm, CSharp wrote:
> Hmmm, I'm not seeing any Javascript error in Firefox using FireBug.
What version of Firefox are you running?
> Here's
> the code from the map.js that should be binding the map bounds:
>
> MapObject.prototype.SetMapBounds = function()
> { var me = this;
>
Hmmm, I'm not seeing any Javascript error in Firefox using FireBug. Here's
the code from the map.js that should be binding the map bounds:
MapObject.prototype.SetMapBounds = function()
{ var me = this;
var currentMapBounds = null; //Creates a new map bounds every time the
route/pattern is
> By this I mean that, when a map is zoomed in or out, the marker is scaled
> *first
> *and then the map is scaled.
See also this thread (the effect is probably browser dependent)
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/d216f98b7bddaed2#
perhaps an enhancement re
> I am using the Google Maps Store locator and I am trying to modify it to
> allow certain 'stores' which are 'feature stores' be shown at the top of the
> list in the sidebar above the normal list.
I think if it were me I would add an extra property 'featured' to the
XML sent to the client, then
> Click on the following routes in sequence:
>
> 1) 10 Northeast Loop
Fails at that point for me in FF2
"JSON is not defined"
http://demo.mentormyride.com/Scripts/map.js
Line 1372
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
On Apr 25, 12:33 pm, CSharp wrote:
> I seem to have an issue with the Google Map's fitBound method not zooming
> into a set of LatLng's after the viewport has been adjusted and zoomed out.
> For some reason, going back to the original set of LatLng's (or
> LatLngBounds), the zoom level and cente
Code sample:
directionsService = new google.maps.DirectionsService();
var request = {
origin: "R. Savério de Donato, 370",
destination: "-23.6214282, -46.687355",
travelMode: google.maps.DirectionsTravelMode.DRIVING,
provideRouteAlternatives:false,
region:'B
Hi,
I was using the directionsService and wanted to get results in my language
"pt-BR", after some searching here in the forum i found out i needed to load
the API with the language parameter:
http://maps.google.com/maps/api/js?sensor=false&*language=pt-BR*
Ok, but then something really weird
> How I have to realize this in V3, without existing of the beforeclose and
> beforeopen events of a Infowindow???
How are you opening the infowindow, if you add lines of code to that
function that makes an effective 'beforeopen'.
The infowindow fires a 'domready' event which I would think you ca
I seem to have an issue with the Google Map's fitBound method not zooming
into a set of LatLng's after the viewport has been adjusted and zoomed out.
For some reason, going back to the original set of LatLng's (or
LatLngBounds), the zoom level and centering seems to be stuck for the bounds
tha
I'm trying to get the click event for the Polygons within a GeoXML3 wrapper
to display what I want it to display rather than the name and description.
As it is, the click event is already defined in GeoXML3.
My current example is at:
http://www.alliedwasteidaho.com/trash-and-recycling/collec
On Mon, Apr 25, 2011 at 11:03 AM, achin kulshrestha wrote:
> *mapObject = new GoogleMapsConnector();*
>
What's a GoogleMapsConnector? We'll need to see the full source of your page
to help.
--
http://twitter.com/broady
--
You received this message because you are subscribed to the Google Gr
Sir,
I am making a new map object and while finding the route between two places
I call its class constructor GoogleMapsConnector but as soon as the flow
reaches the line "*mapObject = new GoogleMapsConnector();" some weird code
appears and the execution doesn't reaches the class GoogleMapsCon
This is an interesting design problem, for sure. Is it useful to have ~100
pieces of detailed data on the screen at once?
I'd suggest either providing filters so that users can find the location
they need, or providing a summary (~1 line) to scroll through and then click
through for more detail.
I have maps where there will often be more than one location at the
same place, up to 100 or more. These locations have the exact same lat/
lon. I know about the various ways you can group markers, but none of
those do what I'm looking for.
I need information for each location to be accessible. I
Hi,
I am using markercluster, but I have tough time to get right click
event fired, I am able to get mouseover and mouseout by adding
following code in to ClusterIcon.prototype.onAdd = function() {
google.maps.event.addDomListener(this.div_, 'mouseover',
function() {...}
google.maps.event.
Hi all,
I am developing an widget in WRT Nokia , i am using google map javascipt Api
in that.
I put coding of marker as well as direction route same as sample on this
site but somehow it can not render on map or it is not visible.
Please help me.
Thanks
Vimal
--
You received this message be
By this I mean that, when a map is zoomed in or out, the marker is scaled
*first
*and then the map is scaled.
This leads to marks being overly scaled when zooming out with the mouse
wheel and is rather ugly.
Should this be considered as a bug ?
Is there a workaround ?
--
You received this mes
Ok, I think I added the correct code that was missing for the info window
and it opens in the map (outside of the iframe) when the marker is clicked
on. Any suggestions on improving that code, or user interaction would be
greatly appreciated.
On Mon, Apr 25, 2011 at 9:26 AM, K Bowman wrote:
> S
Hi,
I have a map from São Paulo and the City Hall has a printed map separated by
sectors limiting the size of each field in the block.
I need to do the same thing with Google Maps, is it possible?
The information I have is the complete address and size of the field.
Thanks in advance for any
So, the marker that I currenlty have defined can't be used for the
infowindow? I thought I could just include the infowindow code with the
existing marker code and have them both appear.
On Mon, Apr 25, 2011 at 3:38 AM, Rossko wrote:
> > Hmm... there was a conflict between the template and the
Until now nobody has answered my question about Infowindowbeforeopen and
Infowindowbeforeclose.
So here is a more functional description of what I want to do:
My users can create Markers, with a Infowindow. Between the Markers I draw a
Polyline as route.
Every Infowindow has three tab-pages
Check out Styled maps
This is a very good way to play with them:
http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html
Disabling "Landscape -> Man Made" seems to hide 3D buildings just fine.
On 25 April 2011 08:03, Dan wrote:
> Is there a way to disable the 3D effects t
On Apr 25, 7:05 am, jemmy puerto wrote:
> Thanks.. but maybe i need a specific function or codes..
Maybe you should look at the documentation and the examples there:
http://code.google.com/apis/maps/documentation/javascript/services.html#Geocoding
or the samples:
http://code.google.com/apis/maps/
Thanks.. but maybe i need a specific function or codes..
On Sun, Apr 24, 2011 at 5:08 AM, Rossko wrote:
> > how can i get the zip code or postal code of particular address any
> > idea or codes to share.. thanks in advance.. ^^
>
> You could try the geocoder
>
> http://code.google.com/apis/maps/
On Apr 24, 1:28 am, mouadh wrote:
> hi,
> i want to scan a map by drawing and defining some object like
> taggabale sector, taggabale route...
I don't know what that means.
> i want also automatically retrieve a route between two points.
> how can i do that with Google Maps JavaScript API v3 or
On Apr 25, 3:37 am, Mark Thompson wrote:
> Sorry, I meant geoxml3, the one available at:
http://code.google.com/p/geoxml3/
>
> Starting to get used to the idea that I need to start actually
> opening these files up rather than assuming that they behave like
> the programs they're derived from in
The error is where you write
(links[i].coords[0].lng() + links[i].coords[1].lng()) / 2.0;
This does not give the mid point of the line. To find the mid point of a
line, use the geometry library's interpolate() function:
http://code.google.com/apis/maps/documentation/javascript/reference.html#sph
On Apr 25, 3:03 am, Mark Thompson wrote:
> Awesome, thanks! Figure I should keep yours since you're the one
> whose undertaken updating it in case you make further updates.
> Works great now!
If you mean you are pointing to the version on my site, please don't
use my bandwidth for your page.
Greetings all,
I've developed some javascript code that draws two-point Polylines
(straight lines).
In zoom_changed event I calculate the position of lines mid point and I
create a Marker at that position.
I noticed that as I zoom in further these Markers keep drifting from the
actual mid point
Sorry, I meant geoxml3, the one available at: http://code.google.com/p/geoxml3/
Starting to get used to the idea that I need to start actually opening
these files up rather than assuming that they behave like the programs
they're derived from in version 2.
I see that the AddListener event is alre
how about read the files with php/asp (what ever) and generate some js
code (arrays) with it, and parse through the array with js ?
On 23 Apr., 21:09, Rossko wrote:
> > I have a file in server, it shows latitude and longitude values only.
> > And i have a map file in another location.
> > I want
I am using the Google Maps Store locator and I am trying to modify it to
allow certain 'stores' which are 'feature stores' be shown at the top of the
list in the sidebar above the normal list.
I have created a new table which matches the Markers table called Featured
and I have be able to dupli
On Apr 25, 2:00 am, "geocode...@gmail.com"
wrote:
> On Apr 24, 11:31 pm, Mark Thompson wrote:
>
> > I'm trying to figure out how I add a click event to polygons within
> > GeoXML. It used to be if I added one to the map, it was able to
> > handle it, passing the overlay, but now it just ignor
Awesome, thanks! Figure I should keep yours since you're the one
whose undertaken updating it in case you make further updates. Works
great now!
On Apr 25, 1:59 am, "geocode...@gmail.com"
wrote:
> On Apr 24, 11:04 pm, Mark Thompson wrote:
>
> > Thanks, the new version of the library stops it
> My map is here :
> http://69.167.189.144/~meshalw/g/indexg.php
I don't think it's got anything to do with maps.
Your 'Submit' button has an onclick action, but is also attached to
your form
No action= attribute is given for your form, and so the default
behaviour is to reload the whole page.
> Hmm... there was a conflict between the template and the component
> com_properties where both had slimbox.js jQuery defined and I was told by
> the template developer i had to remove one which I did but apparently there
> is now an error.
slimbox.js errors out because it is dependent on jquery,
Post a link to your map.
On 25 Apr 2011, at 10:22, Navindian wrote:
> Two maps on a single xhtml page. I wish to put two different on a single
> facelet. Either of the map is showing off. At a time, two maps are not
> getting shown.
--
Scott Wilcox
@dordotky | sc...@dor.ky | http://dor.ky
+44
Two maps on a single xhtml page. I wish to put two different on a single
facelet. Either of the map is showing off. At a time, two maps are not
getting shown.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group
> Is there anywhere an example with mysql and php. We would like to find
> something similar to
> thishttp://code.google.com/apis/maps/articles/phpsqlgeocode.html, but it
> is nots v3 version.
You could look in the v3 documentation to see if there is something
similar?
http://code.google.com/api
Hi,
Is there anywhere an example with mysql and php. We would like to find
something similar to this
http://code.google.com/apis/maps/articles/phpsqlgeocode.html, but it
is nots v3 version.
Sorry for poor English language knowledge :)
Valentinas
--
You received this message because you are sub
hi,
i want to scan a map by drawing and defining some object like
taggabale sector, taggabale route...
i want also automatically retrieve a route between two points.
how can i do that with Google Maps JavaScript API v3 or v2 ??
Thx for your help.
--
You received this message because you are subsc
On Apr 25, 12:59 am, "geocode...@gmail.com"
wrote:
> On Apr 24, 11:04 pm, Mark Thompson wrote:
>
> > Thanks, the new version of the library stops it from erroring out,
> > but the line:
>
> > var
> > distancetoedge=Math.round(bdccGeoDistanceToPolyMtrs(geoXml.docs[0].gpolygon
> > s[i],
> > point)
On Apr 24, 11:04 pm, Mark Thompson wrote:
> Thanks, the new version of the library stops it from erroring out,
> but the line:
>
> var
> distancetoedge=Math.round(bdccGeoDistanceToPolyMtrs(geoXml.docs[0].gpolygon
> s[i],
> point)*3.28);
>
> returns NaN when I display what's in distancetoedge.
On Apr 24, 11:31 pm, Mark Thompson wrote:
> I'm trying to figure out how I add a click event to polygons within
> GeoXML. It used to be if I added one to the map, it was able to
> handle it, passing the overlay, but now it just ignores any event
> that is within a defined polygon. It will pass
Still no solution. It seems that for some reason it happens when OnClick i
call the function meshal() that has the DownloadUrl function. I need to have
the DownloadUrl included in a function so i call that function OnClick
whenever the user changes the search value.
--
You received this messag
Is there a way to disable the 3D effects that you find if say you search for
the Sears Tower in Google Maps? I'm doing a custom map where I want to
overlay floorplans on top of buildings and it just looks ugly when the
buildings are in 3D (with bits of the building poking out above or below the
62 matches
Mail list logo