Re: [Google Maps API v3] Re: Unknown Failure, Line 33, Pos 1048 in mapfiles/api-3/4/3/main.js

2011-03-11 Thread Raoul Kieffer

Hi Dianne,

I fully agree with you it is a timing problem. I found out that calling the 
GoogleMaps API only once all other parts of my page have been uploaded would 
solved the issue.


As I had other problems with the latest version (3.4) of GoogleMaps, I'm 
specifying now the version number (3.3) (by adding "v=3.3") and it works 
fine again.
src="http://maps.google.com/maps/api/js?v=3.3&sensor=false";>


Meanwhile Ravi opened another thread on this topic:
[Google Maps API v3] Java Script Error 
http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js

Let see if Google will find the problem.

Thanks for your email and have a nice week-end.

Raoul

- Original Message - 
From: "Dianne van Dulken" 

To: "Google Maps JavaScript API v3" 
Sent: Tuesday, March 08, 2011 6:11 AM
Subject: [Google Maps API v3] Re: Unknown Failure, Line 33, Pos 1048 in 
mapfiles/api-3/4/3/main.js




Well, I have found a "solution".

I have put it that way because it isn't actually a solution, it is
mind bogglingly stupid, but I don't have time to work out why it works
and make it more elegant.

It looks like there was a clash in timing between main.js and the dom.

If I took jquery.142.min.js, and instead of doing a call to it, wrote
it out inline, everything works beautifully.

"What?" you say, "That makes absolutely no sense".

I know, but there you have it.

I'll be reviewing in about a month as I am fairly sure it means there
is a problem with main.js, which will hopefully be fixed by then.

Hope this insanity helps you.

Di

--
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.




--
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Japan earthquake

Hello everyone-

I'm a Japanese programmer.
Sorry to posted a message which is not related this group, but we need
more help.
My friend is creating the Japan map after the earthquake using the
open street map. But we need more help! Could you help to draw a map
and re-announce?

Web site:
http://osmemo.wizu.jp/

How to:
http://wiki.openstreetmap.org/wiki/ 2011_Sendai_earthquake_
and_tsunami#Mapping

Thank you!

Masashi katsumata

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: tracking many StreetViewService queries

it's not the case that i would need to write the function inline, is
it?


PS - julio, que actuación en TV 4! te aconsejo, tendrás que rehacer
los imágenes del sitio, o en otro formato de gama más amplia o con
gamas precisadas para los GIFs, para que no se vean tan pixelados.


On Mar 10, 12:46 am, brick  wrote:
> marc et al, here is a pseudo version of my arrangement. please tell me
> how you think a closure can resolve this question. thanks!
>
> savePanorama: function ( SVPD, SVS ) {
>     panoramas [ id ] = SVPD;  // need to know its ID to save it
>
> },
>
> recordPanorama: function ( id ) {
>     // need to pass the ID to savePanorama ();
>     getPanoramaByLocation ( latLngs [ id ], 10, savePanorama );
>     setTimeout ( recordPanorama, delay, ++ id );
>
> }
>
> On Mar 9, 8:59 am, Marc Ridey  wrote:
>
> > Hi brick,
>
> > Closure should solve this. Can you supply a test page with what you;re
> > trying to do. It will help in providing an answer to your question.
>
> > Thanks
>
> > On Wed, Mar 9, 2011 at 4:40 AM, brick  wrote:
> > > i understand how closures add extra variables to the scope of a
> > > method, and that this enables passing parameters to event listeners.
> > > but! for StreetViewService queries, the listener method is called from
> > > within google's code. i can't put a closure in there.
>
> > > is there any way to provide an id to my listeners for
> > > getPanoramaByLocation()? if not, i have to do all my queries one at a
> > > time.
>
> > > a similar question:
>
> > >http://groups.google.com/group/google-maps-js-api-v3/browse_thread/th...
>
> > > in this thread chad killingsworth suggests that a closure solves the
> > > problem, but searching and testing i haven't been able to corroborate
> > > his claim:
> > >http://groups.google.com/group/google-maps-js-api-v3/browse_thread/th...
>
> > > --
> > > 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-v3+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Java Script Error http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js

http://www.hyunlslpdealer.com/?reload=true&cs:groupCode=16
http://www.hyunlslpdealer.com/?reload=true&cs:groupCode=100

On Mar 11, 9:11 pm, Ravi  wrote:
> http://www.hyunlslpdealer.com/Seattle
>
> On Mar 11, 8:10 pm, Thomas Baxter  wrote:
>
>
>
> > Can you provide a link to an example?
>
> > On Fri, Mar 11, 2011 at 9:59 PM, Ravi  wrote:
> > > We are getting the following java script  while invoking from our site
> > > in IE. It can be reproducible mostly. But there are no problem in FF,
> > > Safari and other browsers.
>
> > > Message: Unspecified error.
> > > Line: 33
> > > Char: 1048
> > > Code: 0
> > > URI:http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js
>
> > > Message: Unspecified error.
> > > Line: 27
> > > Char: 1726
> > > Code: 0
> > > URI:http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js
>
> > > Can someone help us?
>
> > > --
> > > 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-v3+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.-Hide quoted 
> > >text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Java Script Error http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js

http://www.hyunlslpdealer.com/Seattle

On Mar 11, 8:10 pm, Thomas Baxter  wrote:
> Can you provide a link to an example?
>
>
>
> On Fri, Mar 11, 2011 at 9:59 PM, Ravi  wrote:
> > We are getting the following java script  while invoking from our site
> > in IE. It can be reproducible mostly. But there are no problem in FF,
> > Safari and other browsers.
>
> > Message: Unspecified error.
> > Line: 33
> > Char: 1048
> > Code: 0
> > URI:http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js
>
> > Message: Unspecified error.
> > Line: 27
> > Char: 1726
> > Code: 0
> > URI:http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js
>
> > Can someone help us?
>
> > --
> > 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-v3+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.- Hide quoted 
> >text -
>
> - Show quoted text -

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Java Script Error http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js

Can you provide a link to an example?

On Fri, Mar 11, 2011 at 9:59 PM, Ravi  wrote:

> We are getting the following java script  while invoking from our site
> in IE. It can be reproducible mostly. But there are no problem in FF,
> Safari and other browsers.
>
> Message: Unspecified error.
> Line: 33
> Char: 1048
> Code: 0
> URI: http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js
>
>
> Message: Unspecified error.
> Line: 27
> Char: 1726
> Code: 0
> URI: http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js
>
> Can someone help us?
>
> --
> 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-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Java Script Error http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js

We are getting the following java script  while invoking from our site
in IE. It can be reproducible mostly. But there are no problem in FF,
Safari and other browsers.

Message: Unspecified error.
Line: 33
Char: 1048
Code: 0
URI: http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js


Message: Unspecified error.
Line: 27
Char: 1726
Code: 0
URI: http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js

Can someone help us?

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Is it possible to not display a particular leg of a route.

Google maps appears to have some information on car ferrys; certainly
their route and probably the time they will take.  So Google maps can
make an intelligent routing decision including using a car ferry.

It sounds like the routing you are interested in is for cargo; you
can't just drive your truck onto a ship that travels (on a regular
schedule) from Poole to Santander.  So you'll need to provide that
intelligence.  (That's the exciting part!)  How much does it cost?
How long does it take?  How regular is it?  How much is involved in
loading and unloading (which probably depends on the equipment at each
end, AND on the actual cargo being moved.)

It's pretty straightforward to then just draw a straight line between
Poole and Santander, and attach that to the land routes laid out by
Google Maps.  (The actual route by ship won't be a straight line, but
you probably could never get information on the exact course.  Nor
would you care.)  In the API, you would specify one route from the
land origin to the shipping port, and another from the arrival port to
the destination.

One thing to keep in mind about moving real cargo is road
restrictions.  I don't think Google Maps keeps information on roads
closed to, say, hazardous cargo.  And I don't think it has information
on bridge heights, something you'll need to know for certain
transport!

Good luck!

- jeff

On Mar 11, 7:02 am, John Fannon  wrote:
> Hi I am new to google maps api and it's like Aladin's cave - so much
> interesting stuff.
>
> I am interested in studying how short sea shipping can be an advantage
> over the land route. For example, if I want to send a truck from
> Birmingham to Madrid, Google maps will show me route quite easily via
> Dover and Calais.
>
> But if I want to travel via the port of Poole or Portsmouth and take a
> ship to Santander in Northern Spain, Google maps doesnt envisage a
> long sea route. It will find a route Birmingham - Poole, then choose
> Cherbourg as its cross channel destination. Then it will draw the
> route between Cherbourg - Santander then on to Madrid. It looks quite
> odd.
>
> Now there is enough information in there for my purposes, Google maps
> gives me the distance between Birmingham and Poole and between
> Santander and Madrid. What I dont need and I dont want is any
> reference to the Poole - Cherbourg and Cherbourg - Santander legs.
>
> Can they be suppressed - i.e. not displayed on the map?
>
> alternatively is there a way of specifying a sea route between two way
> points.
>
> I'd be grateful for any views.
>
> John

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: zooming when infopage visible does not zoom with marker

As well as the infopage staying static, I also want the zoom to focus in on 
the marker position (like it does in V2).

FYI : my infopages actually have a zoom in and zoom out button (embedded 
from parsed xml file), the onclick for zoom in fires the function:

function myzoomin(i) {
var nowzoom = map.getZoom();
map.setZoom(nowzoom + i);
}

this just mimics the standard zoom feature and works fine in V2.

For V3 - i tried to expand this function, to find the current marker 
position and zoom but use the map.fitbounds feature to keep everything 
centered around the marker position.I couldn't get this to work as non 
of the values from the main function were available and I couldn't work out 
how to get the marker position.etc.. basically I was scratching 
round in the dark.  I've given up now and decided to stick with V2 for 
the time being as at aleast is works.

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: zooming when infopage visible does not zoom with marker

i dont liked that behavior in V3 as well, specially with custom
infowindows (it just look not so good when zooming)

i thought you made my day esa, i looked up the exemple before i read
your whole post... then i read "undocumented", you know how it is with
undocumented functions, cant really use em

On 11 Mrz., 21:10, Esa  wrote:
> A simple hack is to re-open the info window by 'zoom_changed' event.
> First test if info window is open by
>
>   if (infowindow.getMap())
>
> Then open it by
>
>   infowindow.open(map);
>
> However it opens without any pixel offset to the marker. To make it
> open in exact position on top of the marker, you need the anchor
> property. That is available by an undocumented getAnchor() method of
> InfoWindow. You could also save the anchor marker to a variable. In
> the example, availability of getAnchor() is 
> tested.http://koti.mbnet.fi/ojalesa/v3/iwzoom.htm

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: zooming when infopage visible does not zoom with marker

A simple hack is to re-open the info window by 'zoom_changed' event.
First test if info window is open by

  if (infowindow.getMap())

Then open it by

  infowindow.open(map);

However it opens without any pixel offset to the marker. To make it
open in exact position on top of the marker, you need the anchor
property. That is available by an undocumented getAnchor() method of
InfoWindow. You could also save the anchor marker to a variable. In
the example, availability of getAnchor() is tested.
http://koti.mbnet.fi/ojalesa/v3/iwzoom.htm

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Internet Explorer problem

On Mar 11, 6:08 am, Gordon Mackay  wrote:
> Hi there,
>
> I'm getting an error in Internet Explorer (only Internet Explorer)
> on the following page:

http://balnagown.ntlinux.co.uk/map/


>
> For the life of my I can't figure out what's causing it. I get now
> errors in Firefox or Safari's error console, but IE flags the
> following:
>
> Webpage error details
>
> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/
> 4.0)
> Timestamp: Fri, 11 Mar 2011 14:07:32 UTC
>
> Message: Unknown runtime error
> Line: 459
> Char: 43
> Code: 0
> URI:http://maps.gstatic.com/intl/en_ALL/mapfiles/310c/maps2.api/main.js


The error is trying to set .innerHTML on a SPAN element (a.innerHTML=b
where a is a SPAN element).

http://www.google.com/search?client=gmail&rls=gm&q=IE%20.innerHTML%20SPAN

  -- Larry

>
> Message: Object doesn't support this property or method
> Line: 2
> Char: 1
> Code: 0
> URI:http://maps.gstatic.com/cat_js/intl/en_ALL/mapfiles/310c/maps2.api/%7...
>
> Message: Unknown runtime error
> Line: 459
> Char: 43
> Code: 0
> URI:http://maps.gstatic.com/intl/en_ALL/mapfiles/310c/maps2.api/main.js
>
> Message: Object doesn't support this property or method
> Line: 1
> Char: 1
> Code: 0
> URI:http://maps.gstatic.com/intl/en_ALL/mapfiles/310c/maps2.api/mod_apiiw.js
>
> Any assistance would be greatly appreciated.
>
> Gordon Mackay

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: "useStaticMap:false" option is not working

Perhaps Ben Appleton can comment.

http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/ef18621a2ab0bfc3

The static map causes extra network traffic.  I am trying to avoid
it.  It is obsolete once I drag or pan or zoom the tiled map.

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Zoom in/out frequently cause null is null or not an object in IE

Hi everyone,  currently i'm using the markermanager for this version
and i get the same problem with the zoom in/out on IE (only IE, FF and
Chrome works great)

i tried disabling the markermanager and try just with a marker
(without any interface), but the problem persist

the people of google maps knows about this error? because in the
example of the official doc, appears this error


I will be watching this topic if anyone find the solution


Greetings!.

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Is it possible to not display a particular leg of a route.

Hi I am new to google maps api and it's like Aladin's cave - so much
interesting stuff.

I am interested in studying how short sea shipping can be an advantage
over the land route. For example, if I want to send a truck from
Birmingham to Madrid, Google maps will show me route quite easily via
Dover and Calais.

But if I want to travel via the port of Poole or Portsmouth and take a
ship to Santander in Northern Spain, Google maps doesnt envisage a
long sea route. It will find a route Birmingham - Poole, then choose
Cherbourg as its cross channel destination. Then it will draw the
route between Cherbourg - Santander then on to Madrid. It looks quite
odd.

Now there is enough information in there for my purposes, Google maps
gives me the distance between Birmingham and Poole and between
Santander and Madrid. What I dont need and I dont want is any
reference to the Poole - Cherbourg and Cherbourg - Santander legs.

Can they be suppressed - i.e. not displayed on the map?

alternatively is there a way of specifying a sea route between two way
points.

I'd be grateful for any views.

John

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Internet Explorer problem

Hi there,

I'm getting an error in Internet Explorer (only Internet Explorer) on
the following page: http://balnagown.ntlinux.co.uk/map/

For the life of my I can't figure out what's causing it. I get now
errors in Firefox or Safari's error console, but IE flags the
following:


Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/
4.0)
Timestamp: Fri, 11 Mar 2011 14:07:32 UTC


Message: Unknown runtime error
Line: 459
Char: 43
Code: 0
URI: http://maps.gstatic.com/intl/en_ALL/mapfiles/310c/maps2.api/main.js


Message: Object doesn't support this property or method
Line: 2
Char: 1
Code: 0
URI: 
http://maps.gstatic.com/cat_js/intl/en_ALL/mapfiles/310c/maps2.api/%7Bmod_drag,mod_ctrapi%7D.js


Message: Unknown runtime error
Line: 459
Char: 43
Code: 0
URI: http://maps.gstatic.com/intl/en_ALL/mapfiles/310c/maps2.api/main.js


Message: Object doesn't support this property or method
Line: 1
Char: 1
Code: 0
URI: http://maps.gstatic.com/intl/en_ALL/mapfiles/310c/maps2.api/mod_apiiw.js

Any assistance would be greatly appreciated.

Gordon Mackay

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] zooming when infopage visible does not zoom with marker

take a random V2 page which displays markers and infopages when
clicked.

http://econym.org.uk/gmap/example_map3.htm

click on a marker, then use the zoom in button,  zooming is based on
the selected marker  (the infopage does not move)


now do the same thing using a version 3 example.

http://www.geocodezip.com/v3_MW_example_map3.html

the zoom ignores the current marker and seems to use the center of the
map. (infopage dissapears off the screen)


the standard behaviour appears to have changed, can I replicate V2
functionality using the V3 API?  If so how?

thanks

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Put focus on new window created from marker click

Radina,

My problem was not lack of knowledge about infowindows.   I presented a very 
simple, stripped down example that illustrated to focus attention on the 
problem on the fact that the popup window was for most browsers being hidden 
behind the map window.  The problem is being encountered in working with 
much larger programs, like http://accotink.org/gar.htm where a window is 
needed in which a PHP file can execute.

Have you any clue as to why my simple x.htm program experiences the popup 
being hidden behind the map window?

Clair

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Need Help regarding Google Maps API

> But I also want to get Address of users current Location I got a bit of code
> for this but that only works in Firefox but did not work in other browser

Not all browsers/tools support returning an address
http://ajaxian.com/archives/navigatorgeolocation-using-the-w3c-geolocation-api-today

You could just use the lat/long from the location service, and reverse-
geocode it yourself

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Hand cursor on mouseover KMLLayer in Google Maps

> The problem is that mouseover event does not exist for KMLLayer :(

kmlLayer is rendered as image tiles at Google's servers, this makes
mouseover difficult to implement.

There is an alternative client-side KML parser , GeoXml3 which allows
you access to locally created map objects.  Tradeoff, performance
against flexibility.

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: "useStaticMap:false" option is not working

yeah, google staff members tell all the time that you should not use
undocumented features, so might it come back, might not

On 11 Mrz., 16:00, bratliff  wrote:
> I am trying to suppress the hidden static map at:
>
>     maps.googleapis.com/maps/api/js/StaticMapService.GetMapImage
>
> The undocumented "useStaticMap:false" has been working for the past
> year but now it is failing.

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Text (titles) not showing in my markers

Thanks for he suggestion, you are totally right.
My page is: http://www.makucheff.com.mx/index_files/Page1347.htm

Reading other topics, I discovered 2 point that at the end fixed my
problem.
1. Removing  at the beggininig fix the text not showing
on the Chrome browser . Now is working well.
2. Removing the Shape: Shape, fixed the problem on IE and Chrome. I
don't lnow why but in the version available was not working, and
previous version did it well.
  for (var i = 0; i < locations.length; i++) {
var beach = locations[i];
var myLatLng = new google.maps.LatLng(beach[1], beach[2]);
var marker = new google.maps.Marker({
position: myLatLng,
map: map,
sahdow: shadow,
icon: image,
shape: shape,
title: beach[0],
zIndex: beach[3]
});
  }

Now my issue is fixed. I appreciate all suggestions.

Saludos

XXER

On 9 mar, 15:50, Rossko  wrote:
> > Does any body have a suggestion??.
>
> Starte here , "READ THIS 
> FIRST"http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: 2011/3/2 - New Release

On Friday, March 11, 2011 3:00:20 AM UTC-6, sgiddings wrote:
>
> Should you still need to use an animated gif, you will need to create 
> your own overlay object which still uses standard html elements. 
>
> Simon 
>

I'm pretty sure if you set your markers as draggable, they will not use 
canvas to draw and should animate.

Chad Killingsworth

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Hand cursor on mouseover KMLLayer in Google Maps

Hello,

is it possible to show hand cursor on mouseover KMLLayer in Google
Maps 3?

I see the two solutions (but it seems that they cannot be used):

1. handle mouseover event for KMLLayer and change cursor in CSS
2. handle mouseover event for Map and check if cursor's location is
contained by KMLLayer

The problem is that mouseover event does not exist for KMLLayer :(

Do you have any ideas?

Thanks

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] "useStaticMap:false" option is not working

I am trying to suppress the hidden static map at:

maps.googleapis.com/maps/api/js/StaticMapService.GetMapImage

The undocumented "useStaticMap:false" has been working for the past
year but now it is failing.

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: 2011/3/11 - New Release

here an example:

http://code.google.com/intl/de-DE/apis/maps/documentation/javascript/examples/layer-panoramio.html

dont miss the 
http://maps.google.com/maps/api/js?sensor=false&libraries=panoramio
<--

On 10 Mrz., 23:11, "Luke (Google Employee)"  wrote:
> Hi all,
>
> A new version of the Maps API went live recently. This release includes
> Panoramio Layer, you can read the full blog post 
> here:http://googlegeodevelopers.blogspot.com/2011/03/see-world-through-len...
>
> Full changelog is available 
> here:http://code.google.com/p/gmaps-api-issues/wiki/JavascriptMapsAPIv3Cha...
>
> In this release:
>   * Panoramio Layer
>   * Double clicking on a marker no longer zooms the map (Issue 3090)
>   * Anchor point with custom marker shadow now works (Issue 3112)
>   * Directions marker z-indexing fixed
>   * Default shadow position fixed
>
> Thanks
> Luke

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] How to display directions to the destination of more than one

hay. . all, anyone can heLp me.

how can if want to do a search directions with two input main road
which is adjacent from the "main road A" towards "the main road B"

for example : (A – B) "A main street" to "main street B" that there
are 4 alternative route for example; (A-B ₁, A-B ₂, A-B ₃, A-B ₄)
So when the search for an A - B then the map on google maps directly
leads to the main road (A & B) and display data from database (ex ;
table_route) in the form A-B ₁, A-B ₂, A-B ₃, A-B ₄ had already given
the orange line and road markers with information info window and
directions panel with calculation route or distance.

but it's still a case of A-B road only, while the main road in the
town there are many, can; C-D, F-G, X-Y, etc. how for automatic for
all roads adjacent to the process as above.

how to create tables in a database that is suitable for this case and
the source code for google maps API V3
thanks before, please help.

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Creating input form for start and end? (draggable driving directions)

Yes it is, in my application I have one field where people can write
start and another one for end of route. You can put start and
destination to request

 var request = {
origin:start,
destination:end,
travelMode: google.maps.DirectionsTravelMode.DRIVING
};

On Mar 10, 5:07 am, Tim  wrote:
> In this example the values for start and end are hardcoded. Is there a
> way to create an input form where user can define start and end?
>
> http://gmaps-samples-v3.googlecode.com/svn/trunk/draggable-directions...

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Need Help regarding Google Maps API

Hi,

Dear I want to know about reverse geocoder location:

I have used the following code to determine the lat and lng for the users
current location

But I also want to get Address of users current Location I got a bit of code
for this but that only works in Firefox but did not work in other browser

My code for Address was 'var address = [ position.address.city,
position.address.region, position.address.country ].join(', ');'

Now Please help me in getting users address as well. Thanks

// Note that using Google Gears requires loading the Javascript
// at http://code.google.com/apis/gears/gears_init.js

var initialLocation;
var siberia = new google.maps.LatLng(60, 105);
var newyork = new google.maps.LatLng(40.69847032728747, -73.9514422416687);
var browserSupportFlag =  new Boolean();

function initialize() {
  var myOptions = {
zoom: 6,
mapTypeId: google.maps.MapTypeId.ROADMAP
  };
  var map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);

  // Try W3C Geolocation (Preferred)
  if(navigator.geolocation) {
browserSupportFlag = true;
navigator.geolocation.getCurrentPosition(function(position) {
  initialLocation = new
google.maps.LatLng(position.coords.latitude,position.coords.longitude);
*  var address = [ position.address.city, position.address.region,
position.address.country ].join(', ');*
  map.setCenter(initialLocation);
}, function() {
  handleNoGeolocation(browserSupportFlag);
});
  // Try Google Gears Geolocation
  } else if (google.gears) {
browserSupportFlag = true;
var geo = google.gears.factory.create('beta.geolocation');
geo.getCurrentPosition(function(position) {
  initialLocation = new
google.maps.LatLng(position.latitude,position.longitude);
  map.setCenter(initialLocation);
}, function() {
  handleNoGeoLocation(browserSupportFlag);
});
  // Browser doesn't support Geolocation
  } else {
browserSupportFlag = false;
handleNoGeolocation(browserSupportFlag);
  }

  function handleNoGeolocation(errorFlag) {
if (errorFlag == true) {
  alert("Geolocation service failed.");
  initialLocation = newyork;
} else {
  alert("Your browser doesn't support geolocation. We've placed you in
Siberia.");
  initialLocation = siberia;
}
map.setCenter(initialLocation);
  }
}


--
Regards
Imran Kabir
Software Engineer
Softecventures Private Limited
cell : 092 344 4010113
skype: imran-kabir

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: click on map returns wrong location with new APIs and new iOS Safari

> With API 3.3 and 3.4, it works on all browsers except Safari on
> iPhone/iPad/iPod with iOS 4.3.

It might be worth fixing some of the HTML validation errors to
overcome browser oddities, although none look serious
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.acscdg.com

> My application is here, with the version set to 3.2: http://www.acscdg.com/

FF2 gives me a javascript error on page load in
translationManagerAddElementToList()
_2 has no properties
The TR element doesn't have a length property (in this browser)

When I try to search for a named location, I get a javascript error in
findLocation()
_addressElement has no properties
that variable is simply undefined.

I never get to see any map.

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: List of cities or postal codes along a route

> Is there a reasonable way to generate a list of all the cities or
> postal codes along a given route between two points?

What form is your route in?

Have a look at some of these for starter ideas
http://groups.google.com/group/google-maps-js-api-v3/search?group=google-maps-js-api-v3&q=along+route
Most of those deal with searching through some set of POI.
Your case is not particularly easy, because you do not have a dataset
to search.
Presumably you'll have to do a lot of reverse geocoding to get nearby
postcodes etc. and that will soon be breaking quotas.
You may have to create your own database of polygons of townships /
postal areas / whatevers, that you can freely search

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: 2011/3/2 - New Release

Andri,

Your problem with animated gifs is due to the fact that the original
image is no longer used.
Instead it is "drawn" onto a canvas object - in your case the first
frame of the animated gif.
Should you still need to use an animated gif, you will need to create
your own overlay object which still uses standard html elements.

Simon

On Mar 11, 6:05 am, Andri Yau  wrote:
> is anyone have the same issue as me which is you can not use animated GIF
> image anymore to change the marker icon?
> previous version animated GIF is working find on my map.

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Feature request: Panoramio Layer Boolean filters

Great to hear about the new Panoramio Layer :-)
http://googlegeodevelopers.blogspot.com/2011/03/see-world-through-lens-with-panoramio.html
 


However, since the tags on Panoramio are user contributed and dont conform 
well to any one universal taxonomy, it would be even greater if it was 
possible to search and filter on tags using booleans, e.g. "hike OR hiking 
OR trail OR nature", or possibly even "(hike OR hiking) AND (trail OR 
path)".

Thanks in advance,

Mads

-- 
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-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.