[Google Maps API v3] Re: how to change the size of infowindow

2010-04-14 Thread Tony
I have similar req of having to change the width of the infowindow.
What I'm noticing is that there is no issue in making the window
wider, but making it smaller doesnt seem to work. I want the with to
be around 200px. This doesnt seem to work.


On Apr 9, 11:30 am, Jason Sanford  wrote:
> The max width of an InfoWindow can be easily changed by:
> myInfoWindow.setOptions({maxWidth:400});
>
> Then you'd want to style your InfowWindow content with the width you'd like
> with CSS: .iwContent{width:400px;}
>
> I'm not sure but I think the height is set automatically depending on the
> content you inject.
>
> On Fri, Apr 9, 2010 at 2:59 AM, zjm1126  wrote:
> > i want to set the width and height of the infowindow using v3
>
> > 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...@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...@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] Push pin problem

2010-06-08 Thread tony
I am just a beginner trying to embed Google maps on my website.  I
followed the example, but the image of the push pin does not show.
Here is a link to my code: http://www.gosolivitahomes.com/map.html.
Can anyone help?

Thanks,
Tony

-- 
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...@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: Push pin problem

2010-06-09 Thread Tony
Thanks, that solved the problem.

On Jun 8, 6:45 pm, "geocode...@gmail.com" 
wrote:
> On Jun 8, 1:50 pm, tony  wrote:
>
> > I am just a beginner trying to embed Google maps on my website.  I
> > followed the example, but the image of the push pin does not show.
> > Here is a link to my code:http://www.gosolivitahomes.com/map.html.
> > Can anyone help?
>
> You should learn how to see your javascript errors.  I get:
> Line: 14
> Error: 'latlng' is undefined
>
> That is because the latlng defined here:
>   function initialize() {
>     var latlng = new google.maps.LatLng(28.1278, -81.49);
>
> is local to the initialize function.  The code that defines the marker
> should probably be inside the initialize function as well since it
> requires the "map" exist, and uses that value.
>
>   -- Larry
>
>
>
>
>
> > Thanks,
> > Tony- 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...@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] Center on clicked location

2011-02-17 Thread Tony
I have a recordset being pulled from a database.  I have put these
onto a map and managed to offset the centre, as the design required.
I am now outputting the same recordset to a side bar and would like to
goto the marker for one the location clicked on in the sidebar.

I've tried various things I found online but to no avail.  Any
suggestions would be gratefully welcome.

if (GBrowserIsCompatible()) {

function createMarker(point,html) {

var marker = new GMarker(point, icon);
GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml(html);
});
return marker;
}

GMap2.prototype.setShiftedCenter = function (NW, z, sh) {
var proj = this.getCurrentMapType().getProjection();
var px = proj.fromLatLngToPixel(NW, z);
var sePx = new GPoint(px.x + sh.width, px.y + sh.height);
var seLatLng = proj.fromPixelToLatLng(sePx, z);
this.setCenter(seLatLng, z);
}

var map = new GMap2(document.getElementById("map"));

var mapTypeControl = new GSmallMapControl;
var bottomRight = new
GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(5, 5));
map.addControl(mapTypeControl, bottomRight);

map.setCenter(new GLatLng(0,0),0);
var bounds = new GLatLngBounds();

var icon = new GIcon();
icon.image = "/images/bbn/icons/marker.png";
icon.shadow = "/images/bbn/icons/shadow.png";
icon.iconSize = new GSize(16, 30);
icon.shadowSize = new GSize(36, 32);
icon.iconAnchor = new GPoint(25, 35);
icon.infoWindowAnchor = new GPoint(5, 1);

<%=markers%>

var tiltSwitch = bounds.getCenter();
var shift = new GSize(-200, 0)
var zoom = map.getBoundsZoomLevel(bounds);
var zoom = zoom-1;

map.setShiftedCenter(tiltSwitch, zoom, shift);

map.setZoom(map.getBoundsZoomLevel(bounds)-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 
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] Maps do not display in IE8 Firefox or Opera. Chrome and Safari are OK

2011-03-20 Thread Tony
I have a problem with maps V3 which happens in Internet Explorer 8,
Firefox 3.0.14, and Opera 11.01.  I do not get the problem with Chrome
or Safari it works great with them.

When the page loads it should show a map of the UK which zooms in when
the user enters their post code eg LS9 0ED

The problem is that the map_canvas  just shows a blank area where
the map should be.

Any ideas as to where I have gone wrong?

Pagelink http://streatnet.dyndns.org/mb/signup.php

Thanks
Tony

-- 
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: Maps do not display in IE8 Firefox or Opera. Chrome and Safari are OK

2011-03-22 Thread Tony
Hi Larry

Thanks for that. I had error trapping turned off in my browsers. Had
pasted some code from a function and the return variable had been left
in.

Thanks again
T.

On Mar 20, 9:33 pm, "geocode...@gmail.com" 
wrote:
> On Mar 20, 2:14 pm, Tony  wrote:> I have a 
> problem with maps V3 which happens in Internet Explorer 8,
> > Firefox 3.0.14, and Opera 11.01.  I do not get the problem with
> > Chrome or Safari it works great with them.
>
> > When the page loads it should show a map of the UK which zooms in
> > when the user enters their post code eg LS9 0ED
>
> > The problem is that the map_canvas  just shows a blank area
> > where the map should be.
>
> > Any ideas as to where I have gone wrong?
>
> > Pagelink
>
> http://streatnet.dyndns.org/mb/signup.php
>
> I get a javascript error in IE:
> Line: 23
> Error: 'return' statement outside of function
>
> I also get javascript errors in Chrome:
> signup.php:196  Uncaught TypeError: Cannot read property 'value' of
> null
>
>   -- Larry
>
>
>
>
>
> > Thanks
> > Tony

-- 
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] Multiple KMLs & 414 Error Request-URI Too Large

2011-03-30 Thread Tony
Hi there, I'm experiencing a problem where if create more than 15
KmlLayers using the constructor and passing in different KML files for
each, there seems to be a bunch of failed requests shown in FireBug
with the 414 Error Request-URI Too Large.

At exactly 15 KmlLayers, the map works as expected. But once I go over
this magical number, the polygon regions as defined in each KML file
fail to show. However, the markers I have created inside the
"metadata_changed" event listener for each individual layer still
shows properly. It is only the polygon that has trouble displaying
which I assume is the tile returned from Google's servers after the
request. The failed requests seem to be ones that are directed at the
googleapis.com domain. I've tried copying the request location and
counting the characters, and they all seem to be above 2048 which I
think is the cut off.

I've looked to see if anyone has encountered the same issue and there
seems to be an unresolved post on Stack Overflow as seen here:
http://stackoverflow.com/questions/5120823/multiple-kmls-and-414-error-request-uri-too-large
This post is pretty much exactly what I'm experiencing too.

Does anyone know of a proper workaround to this?

-- 
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: Multiple KMLs & 414 Error Request-URI Too Large

2011-03-30 Thread Tony
I do not load the same combination of KML layers. In fact, it's
dependent on the user's input in a way.

I am able to create a single KML file which contains Polygon
definitions and coordinates from merging all 15+ of the single KML
files. However, my issue with this is that I also have Markers placed
in the center of each Polygon after it renders.

Specifically, I'll have a listener on the "metadata_changed" event for
each of the 15+ single KmlLayers. Then once that fires, I'll create a
Marker setting its position to "this.getDefaultViewport().getCenter()"
which refers to the layer. I pretty much only need the center point
from that layer now that I can generate a KML file on the fly of all
the merged KMLs that the user selects. I've tried not calling the
layer.setMap(myMap) function, but this means that the
"metadata_changed" event never fires. So then I decided to remove the
layer after its "metadata_changed" event fires. This results in a LOT
of requests to google since it has to request to create, then remove.
This method seems to work, but it's very slow due to the large amount
of requests.

Cliffs: Can merge all KMLs into a single KML file, but now can't get
center using layer.getDefaultViewport().getCenter() to set Marker's
position for that "single" KML area.

Thanks for your help so far Barry.

On Mar 30, 2:16 pm, Barry Hunter  wrote:
> There probably isnt a direct way to overcome it. GMaps is going to try
> displaying them all at once.
>
> But possible ways to work around it:
>
> Do you always load the same combination of KML layers? Can you create a
> single (or fewer) KML file, that are simply network links to the original
> files?
>
> You could also maybe make a handler that accepted parameters on what KML
> files to load, and outputted the relevent files as a network links.
>
> On 30 March 2011 19:42, Tony  wrote:
>
> > Hi there, I'm experiencing a problem where if create more than 15
> > KmlLayers using the constructor and passing in different KML files for
> > each, there seems to be a bunch of failed requests shown in FireBug
> > with the 414 Error Request-URI Too Large.
>
> > At exactly 15 KmlLayers, the map works as expected. But once I go over
> > this magical number, the polygon regions as defined in each KML file
> > fail to show. However, the markers I have created inside the
> > "metadata_changed" event listener for each individual layer still
> > shows properly. It is only the polygon that has trouble displaying
> > which I assume is the tile returned from Google's servers after the
> > request. The failed requests seem to be ones that are directed at the
> > googleapis.com domain. I've tried copying the request location and
> > counting the characters, and they all seem to be above 2048 which I
> > think is the cut off.
>
> > I've looked to see if anyone has encountered the same issue and there
> > seems to be an unresolved post on Stack Overflow as seen here:
>
> >http://stackoverflow.com/questions/5120823/multiple-kmls-and-414-erro...
> > This post is pretty much exactly what I'm experiencing too.
>
> > Does anyone know of a proper workaround to this?
>
> > --
> > 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: Multiple KMLs & 414 Error Request-URI Too Large

2011-03-30 Thread Tony
Oops, I accidentally clicked the "Report messages as spam button". :(

-- 
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: KML Layer Loading

2011-04-01 Thread Tony
I can't answer about limits in a 24 hour period, but I will say that
Larry is right. I've encountered a limit on the loading multiple KML
files. In my experience the maximum is 15. Anything more will seem to
make all your requests to Google's servers fail.

On Apr 1, 2:36 pm, arm  wrote:
> Thanks for your quick response, I had run across that page before and it
> didn't seem to specify any particular limit on the per-day requests of KML
> processing, and I liked to assume it wasn't limited over time, but know that
> could be a dangerous assumption to make.
>
> If you or anyone else happens to run across a more direct answer to the
> limitations of requests in, say, a 24 hour period, I'd appreciate hearing
> about it

-- 
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] KML/KMZ Load - 500 Internal Server Error

2011-04-05 Thread Tony
Hi there, there doesn't seem to be many threads/posts on people having
this issue, but I hope someone has an answer.

I have a KMZ file that is generated on the fly. A typical KMZ file
that is generated will have approximately 16 Placemarks. Each
Placemark will contain a MultiGeometry element, then a single Polygon
element. The Polygon element will have a bunch of children elements,
and the only one I think worth mentioning would be the "coordinates"
one. Each coordinates element contains roughly ~1500 coordinates in
total. The file size of the KMZ is under 500KB usually. And I don't
think I exceed any of the limits stated on
http://code.google.com/apis/kml/documentation/mapsSupport.html.

When I go to create the layer using this KMZ file generator location,
the layer will sometimes not display on my map. If I look in FireBug,
I'll be able to see the request to KmlOverlayService failing and
stating a 500 Internal Server Error. If I then copy the Location for
that request and visit it in a new window, the page will load a bunch
of text which I assume means it's working since it doesn't give me a
500 error anymore. If I now hard refresh my map's web page, the KMZ
layer will load perfectly fine.

Cliffs:
KMZ file seems to be under the limits, but generates a 500 error
intermittently when loading the layer.
When 500 error occurs, accessing KmlOverlayService directly will load
data properly without seeing the 500 error.
The layer seems to be fine as it can load on occasion rather than fail
for every request.

Does anyone know what's going here?

-- 
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: KML/KMZ Load - 500 Internal Server Error

2011-04-05 Thread Tony
Thanks for your suggestion, but when I go to generate it, it takes
less than a second to output the KMZ file. I don't think Google's
server will time it out that quickly.


On Apr 5, 10:50 am, Rossko  wrote:
> Maybe your generating process takes too long.  Google's servers will
> time it out.

-- 
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: open KMZ file within Google Map API map

2011-04-07 Thread Tony
I believe you can just open the KML file and determine what kind of
objects/classes are in use for example Polygon. Then create it using
the JavaScript API.

On Apr 6, 3:39 pm, Iratus  wrote:
> Finaly !!!
>
> Now it works and I don' even know why !!!
>
> Is it possible to somehow to change the KML code and integrated directly
> into the javascript file (not through link) ???
>
> I have allready unziped the KMZ file and I can see the code and i can make
> some modifications also.
>
> Thank you  

-- 
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: How to protect source code in javascript using notepad

2011-04-07 Thread Tony
The others are right, you can obfuscate your code, but you won't be
able to protect it from prying eyes. I've seen tricks like converting
code to hex and similar... but all those can be reversed.

I also think this might be against the TOS of Google Maps... but I
could be wrong.

On Apr 7, 6:01 am, Barry Hunter  wrote:
> There is no way to totally protect the code.
>
> Javascript as to be executed by the users browser. So the code has to
> be visible to the browser.
>
> If its visible to the browser, a user can view it to.
>
> There are more tricks you can do to make it harder to find the code
> (beyond just obfuscating it) - but they will vastly complicate your
> codebase and your application. And they will never be able to totally
> protect it anyway, just make it slightly harder.
>
> On 7 April 2011 11:44, en4ce  wrote:
>
> > i duno, thats no protection, if someone what to read that compiled
> > code, he just "unpack" - "uncompile" it, at least i always do so ;)
>
> > there is no real protection to js anyway
>
> > here is on of the unpacker iam 
> > using:http://www.strictly-software.com/unpacker
>
> > On 7 Apr., 10:28, James McGill  wrote:
> >> Take a look at this. It will obfuscate your code, which makes it
> >> harder for other people to read.
>
> >>http://code.google.com/closure/compiler/
>
> >> On Thu, Apr 7, 2011 at 3:57 PM, FARAH SIRAJ
>
> >>  wrote:
> >> > Hi all,
> >> > I have made the code in javascript using notepad which read excel data 
> >> > and
> >> > plot it on google maps. I want to protect my code to be viewed. How can 
> >> > i do
> >> > this.
> >> > Can anyone help me to fix it.
> >> > Thanks in advance.
>
> >> > --
> >> > 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 
> > athttp://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: How to protect source code in javascript using notepad

2011-04-07 Thread Tony
Oh sorry, my mistake.
Thanks for clearing it up!

On Apr 7, 9:27 am, Michael Geary  wrote:
> No, obfuscating your JS code doesn't violate the TOS at all.
>
> But as you mention, anyone who wants to see how it works will figure it out.
>
> -Mike
>
> On Thu, Apr 7, 2011 at 8:08 AM, Tony  wrote:
> > The others are right, you can obfuscate your code, but you won't be
> > able to protect it from prying eyes. I've seen tricks like converting
> > code to hex and similar... but all those can be reversed.
>
> > I also think this might be against the TOS of Google Maps... but I
> > could be wrong.
>
>

-- 
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: KML/KMZ Load - 500 Internal Server Error

2011-04-07 Thread Tony
Hi Niklas,

There's nothing at that first link you posted (montao).
I don't understand what you mean by "difficulty appears with memory
longer than 10 days". Could you please elaborate?

Tony

On Apr 7, 4:52 am, Niklas Rosencrantz  wrote:
> Hey group and Tony
> I also generate KML on the fly with app engine and could prefer a statically
> generated file instead:
>
> class KMLHandler(webapp.RequestHandler):#make static, cron job save file
> like blob
>      def get(self):            
>         start=datetime.datetime.now()-timedelta(days=10)#vary  
>         host = os.environ.get("HTTP_HOST", os.environ["SERVER_NAME"])      
>         logging.debug('host '+host)                
>         count = int(self.request.get('count')) if not
> self.request.get('count')=='' else 1000
>
>         from google.appengine.api import memcache
>         memcache.flush_all()
>         memcache_key = "articles"
>         data = memcache.get(memcache_key)
>         if data is None:
>           articles= Article.all().filter("modified >",
> start).filter("published =", True).order("-modified").fetch(count)
>           memcache.set("articles", a)  
>         else:
>           articles = data
>         dispatch='templates/kml.html'
>         template_values = {'articles': articles , 'request':self.request,
> 'host':host}
>         path = os.path.join(os.path.dirname(__file__), dispatch)
>         self.response.out.write(template.render(path, template_values))
>
> And KML template
>
>  xmlns="http://www.opengis.net/kml/2.2";
> xmlns:gx="http://www.google.com/kml/ext/2.2";
> xmlns:kml="http://www.opengis.net/kml/2.2";
> xmlns:atom="http://www.w3.org/2005/Atom";>
> {% for article in articles %}{% if article.geopt %}
> {{article.geopt.lon|floatformat:2}},{{article.geopt.lat|floatformat:2}}
> {% endif %}{% endfor %}
> 
>
> I got app id classifiedsmarket and I got a similar issue with KML/KMZ that I
> posted about 
> herehttp://stackoverflow.com/questions/5483917/how-to-improve-kml-perform...
> My KML files 
> arehttp://www.montao.com.br/montaolistandhttp://www.koolbusiness.com/list.kml(a
>  superset) and the difficulty appears
> with memory longer than 10 days at the moment so it's not very scalable only
> displaying the last 10 days when there is lots of more content via the
> application that serves 2 domains and sorts KML markers according to domain.
> It was mentioned that JSON is a better choice in my case. Could this
> discussion also recognize that JSON is and option and tell us more exactly
> how?
> Sincerely with thanks for more comments,
> Niklas

-- 
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: Calling Lat/Lon in google maps API, is it against terms of use

2011-04-07 Thread Tony
In regards to your last question:

1.1 Use of the Service is Subject to these Terms. Your use of any of
the Google Maps/Google Earth APIs (referred to in this document as the
"Maps API(s)" or the "Service")

HTH,
Tony

On Apr 7, 9:45 am, FireHawk  wrote:
> Hi All,
> I have modified some code to display lat/lon coordinates in a text field on
> "mousemove" event.  Is this against the terms of use, using the service to
> display Lat/Lon Coordinates?
>
> Here's the line in the terms:
>  10.6 use the Service in a manner that gives you or any other person access
> to mass downloads or bulk feeds of any Content, including but not limited to
> numerical latitude or longitude coordinates, imagery, and visible map data;
>
> On a mousemove event, I guess that could be a mass download?
> Here is my code to do this:
>
> GEvent.addListener(map, "mousemove", function(point) {
>    LatS = point.y.toString();
>    LonS = point.x.toString();
>    numLat = Number(LatS);
>    numnegLon = Number(LonS);
>    numLon = Math.abs(numnegLon);
>    LatDeg = Math.floor(numLat);
>    LonDeg = Math.floor(numLon);
>    LatMin = Math.abs((numLat-LatDeg)*60);
>    LonMin = Math.abs((numLon-LonDeg)*60);
>    InfoLon = LonDeg +  "º " + LonMin.toFixed(4) + "'";
>    InfoLat = LatDeg +  "º " + LatMin.toFixed(4) + "'";
>    document.getElementById("lat").value = InfoLat;
>    document.getElementById("lon").value = InfoLon;
>         });
>
> Any help would be greatly appreciated.  Is there another way to get lat/lon
> coordinates to do this without using the "Service" and what does the term
> "Service" refer to in the terms anyway?

-- 
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] Popup blocker blocks window.open in callback

2011-04-07 Thread Tony
I'm not too sure if this is a Google Maps problem specifically, but I
have a KML file which loads multiple polygons onto a map.

var layer = new google.maps.KmlLayer('http://some/path/',
{ clickable: true, suppressInfoWindows: true, preserveViewport:
true });

google.maps.event.addListener(layer, 'click', function
(kmlMouseEvent) {
window.open('http://www.google.ca', 'Stuff');
});

However, when I go to click on any of the polygons contained in the
KML, the callback runs and executes window.open(). But then in
FireFox, IE and Chrome, the new window gets blocked as it thinks it's
a popup.

Does this happen because the user's browser doesn't detect that the
popup is "user initiated"?

-- 
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: Placemark Labels

2011-04-07 Thread Tony
Hi,

I actually think the labels look nice the way they are now for
buildings.

There are probably a lot of other solutions, but for labels I've
created a sprite which contains all the labels I needed. Then I
created markers, supplying a MarkerImage with the specific location in
the sprite for my label. Those markers were then centered in the
middle of the polygon.

I hope that helps you somehow!


On Apr 7, 10:40 am, Doug  wrote:
> Is it possible to create "google style" white-stroked text labels for
> polygons?
>
> I'm creating a new campus map.  I'd like to be able to toggle on/off
> google's building data and show what we've collected on campus.  I'm
> generating a kml file for my buildings layer, so far so good:
>
> http://webcom.dev.smca.ucf.edu/map/
> (buildings checkbox near the bottom)
>
> At the moment, the polygons are translucent so you can read the labels
> provided, but the shape sit on top of the label (which looks bad) and
> I would like to generate my own building labels.  Is this possible?
>
> This is my first post.
> I've done some searching 
> (http://groups.google.com/group/google-maps-js-api-v3/search?group=goo...
> ) and couldn't find an answer.
>
> Appreciate any help.
> 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: Issues with BlackBerry browser

2011-04-07 Thread Tony
Is it a webworks application? Or a normal web page?

http://stackoverflow.com/questions/5208583/displaying-a-google-map-in-a-blackberry-webworks-application

On Mar 31, 9:28 am, Chad  wrote:
> Hi everyone.
>
> About two months ago we suddenly started having issues with maps displaying
> in the browser on BlackBerry OS 5.
>
> Even from the API reference 
> samplehttp://code.google.com/apis/maps/documentation/javascript/examples/ma...all
> that displays is a grey square where the map should be.
>
> RIM has been able to reproduce the issue on different models so it is not
> limited to my organization.
>
> When I search the web, I don't find anyone reporting this behavior.
>
> Has anyone ever had a similar issue ?
>
> Thanks.
>
> Chad

-- 
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: Popup blocker blocks window.open in callback

2011-04-08 Thread Tony
Hi Barry, I tried out your suggestion by running two of the frozen
versions 3.2 and 3.3, but both of them produce the same result. When I
looked at that thread you posted, they mentioned it was removed for
Markers. I'm using KML Layers in this case which is probably
different. Your explanation seems logical to me though, but I don't
know much about DOM events so I can't say for sure if that is actually
the reason.

@Larry: I thought I replied to you about your response. I wonder why
it hasn't been displayed yet...

Thanks guys,
Tony

On Apr 8, 5:44 am, Barry Hunter  wrote:
> On 7 April 2011 17:16, Tony  wrote:
>
>
>
> > Does this happen because the user's browser doesn't detect that the
> > popup is "user initiated"?
>
> I would think so. See this thread:
>
> http://groups.google.com/group/google-maps-js-api-v3/browse_thread/th...
>
> As the Maps API, bypasses using DOM events, it quite possibly means
> the popup blocker just sees the window.open initiated via javascript.
>
> ...
>
> Firstly I would suggest trying a earlier version of the Maps 
> APIhttp://code.google.com/apis/maps/documentation/javascript/basics.html...
>
> And IF it works there (because it still used DOM events), then jump on
> the linked thread, to let Google know of a use case for using real DOM
> events.

-- 
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 control and infowindows broken

2011-06-14 Thread Tony
thanks for taking a look!
yes, i've tried with every version since 3... no dice, and in 3.3 and below 
the markers become distorted...
i thought it might be something to do with css, as the corners of the 
infowindow and its drop shadow are not rendering properly, but i have no 
idea which properties could be causing the issue. i'm using a standard css 
reset and the rest is mostly based on specific id selectors, so i can't 
imagine there's a conflict...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/cy7OUZoRM2kJ.
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] Re: Zoom control and infowindows broken

2011-06-14 Thread Tony
Everything looks fine now, thanks a lot!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/CEWzzibA1MYJ.
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: Chrome 15 seems slow

2011-11-03 Thread tony
Hi, I'm experiencing a similar problem: our web app based on Google Maps 
API got super-slow just after my chrome got updated today.

Version: 15.0.874.106 (Official Build 107270) m
OS: Win 7 64bit *and* Vista 32bit

We market a webapp that makes extensive use of google maps, markers and 
polylines and, starting with version 15 Chrome got terribly slow when 
handling multiple complex polylines. Beta and Canary versions are slow as 
well. Version 14 was perfectly fine.

What happened?

Please advise, thanks,
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/npVGgaWLoWMJ.
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] Markers on Circle Circumference with Arbitrary Angle

2012-01-07 Thread Tony
Hi
I have a circle object and i want to draw markers on the circumference
using an angle.

I am aware of the sample code 
http://code.google.com/apis/maps/articles/mvcfun.html

Math-wise it should be straight forward, however I need to do it using
google maps circle centre lat, lng, radius and an input angle.

var newCircle = new google.maps.Circle({
map: map,
center: cntr,
radius: 4000,
editable: true
});

var raridus = newCircle.getRadius() / 1000;
var latRad = newCircle.center.lat() * Math.PI / 180;
var lngRad = newCircle.center.lng() * Math.PI / 180;

var lat = (latRad + (raridus * Math.sin(45 * Math.PI / 180))) *
180 / Math.PI;
var lng = (lngRad + (raridus * -Math.cos(45 * Math.PI / 180))) *
180 / Math.PI;

var myMarker = new google.maps.Marker({
map: newCircle.map,
position: position = new google.maps.LatLng(lat, lng),
draggable: false
});

I think I missing unit conversion for the radius

-- 
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: Markers on Circle Circumference with Arbitrary Angle

2012-01-07 Thread Tony
Very handy, thank you.

On Jan 8, 12:54 am, Marcelo  wrote:
> Check out this V2 example:http://maps.forum.nu/gm_driving_radius.html
>
> in particular the function getCirclePoints().
> It calculates points along the circle at an interval of x degrees.
>
> --
> Marcelo -http://maps.forum.nu
> --
>
> On Jan 7, 1:48 am, Tony  wrote:
>
>
>
>
>
>
>
> > Hi
> > I have a circle object and i want to draw markers on the circumference
> > using an angle.
>
> > I am aware of the sample 
> > codehttp://code.google.com/apis/maps/articles/mvcfun.html
>
> > Math-wise it should be straight forward, however I need to do it using
> > google maps circle centre lat, lng, radius and an input angle.
>
> > var newCircle = new google.maps.Circle({
> >         map: map,
> >         center: cntr,
> >         radius: 4000,
> >         editable: true
> >     });
>
> >     var raridus = newCircle.getRadius() / 1000;
> >     var latRad = newCircle.center.lat() * Math.PI / 180;
> >     var lngRad = newCircle.center.lng() * Math.PI / 180;
>
> >     var lat = (latRad + (raridus * Math.sin(45 * Math.PI / 180))) *
> > 180 / Math.PI;
> >     var lng = (lngRad + (raridus * -Math.cos(45 * Math.PI / 180))) *
> > 180 / Math.PI;
>
> >     var myMarker = new google.maps.Marker({
> >         map: newCircle.map,
> >         position: position = new google.maps.LatLng(lat, lng),
> >         draggable: false
> >     });
>
> > I think I missing unit conversion for the radius

-- 
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: getBounds of polygon

2009-11-10 Thread Tony

Try following psuedo code

var bounds = new google.maps.LatLngBounds();
var points = [];
var point;
var polygon;

//Create array of points defining your polygon
for each point on your polygon...
point = new google.maps.LatLng(,);
bounds.extend(point);
points.push(point):

  polygon = new google.maps.Polygon({
paths: points,
strokeColor: "#FF",
strokeOpacity: 0.8,
strokeWeight: 2,
fillColor: "#FF",
fillOpacity: 0.35
  });

  polygon.setMap(map);

  //Then fit the map to your bounds object
  map.fitBounds(bounds);


On Nov 10, 3:27 pm, hvr  wrote:
> Hi There,
>
> I'm trying to dynamically draw a polygon on my map and i want to set
> the zoom level so that no matter what the shape/size of the polygon it
> will always be fully shown on the map.  I've found instructions on how
> to do this in V2 of the api but it seem that certain methods are
> missing in V3.  is there a new way to do this or has the functionality
> not been added yet?
--~--~-~--~~~---~--~~
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] Correct switch for Google Maps/Directions URL

2010-10-20 Thread tony progresstech
I am using a standard  to link from my webpage to a directions
page on Google like this:

http://maps.google.com/maps?f=d&source=s_d&saddr=Fort+Myers,+6325+Presidential+Court,+FL&daddr=8359%20Beacon%20Blvd.+Fort%20Myers+FL+33912&hl=en&ie=UTF8&layer=c&pw=2

Two Questions:

1.) How do I have the map print by default instead of requiring a
checkbox, i assume its a switch I can add in the URL?

2.) How do I include some default notes in the notes section on the
google print page. I am guessing I can somehow include some text here
by passing it in my URL. How do I do that?

-- 
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...@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 doesn't download "http://maps.google.com/maps/api/js?sensor=false"

2010-11-18 Thread Tony Diaz
What version of IE are you using?. I have seen this issue on IE7 and
IE8. I was able to get around this issue by placing a time delay for
about 100ms before loading the goggle map to make sure the Google API
is fully loaded.

Sample.GoogleMap = function(){
  var  timeToLoad = setTimeout("loadMap()",100);
};

  function loadMap(){

 var myLatLng = new google.maps.LatLng(38.5111, -96.8005);
 var myOptions = {
   zoom: 4,
   center: myLatLng,
   mapTypeId: google.maps.MapTypeId.TERRAIN
   };
  map = new
google.maps.Map(document.getElementById("map_canvas"),myOptions);
}


On Nov 18, 10: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 makes a javascript error:
> 'google' not defined. After fining out I realize that it's not
> downloading and executing the google scripts, if a 
> typehttp://maps.google.com/maps/api/js?sensor=falsein the browser it doesn
> ´t download the file the first time, if a click again it does. I
> supposed the browser in runtime is having trouble downloading this
> script, how can I fix it?, thank you!.

-- 
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...@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] Help needed

2011-05-28 Thread Tony - Immomexx
Hello Dean,

perhaps here at http://www.elvalle-samana.com/google-earth/ gives you a
better idea.

This is a wordpress page where i embedded information from my google maps.
So in facts its synchronized.



<http://www.facebook.com/tonydomrep>
---
Yours,

Tony van der Heijden

www.altijdzon.nl l www.elcatey.com l www.dominican-realestate-properties.coml
www.immomexx.com l www.lasterrenasrealestate.com l
Facebook<http://www.facebook.com/tonydomrep>

Mobile Tony: +1(829) 380 0020 (English-Nederlands-Deutsch-Spanish)
Mobile Jeremie: +1(829) 922 2324 (Francais - Espanol)

Immomexx SRL l Nr RNC: 130743975
Plaza Rosada local 12 - Las Terrenas - Domincan Republic

Int. Faxnumber: 1 509 355 6602
SKYPE NAME: immomexx
<http://www.luxuryrealestate.com>


On Sat, May 28, 2011 at 10:28 PM, Deane Venske  wrote:

> Hi Tony,
>
> What exactly are you trying to do when you say synchronization? Do you mean
> dynamic KML/KMZ files but in a for google will allow you to use KMLLayers
> with? I've just finished a project that required the caching of KML/KMZ
> files using an AJAX-PHP call that then passed those files to a google maps
> KMLLayer. If you give me some details perhaps I can give some pointers.
>
> Thanks,
> Deane Venske
>
> On Sun, May 29, 2011 at 1:19 PM, Tony van der Heijden <
> tonydom...@gmail.com> wrote:
>
>> Need help.
>>
>> Just played around a little bit on a test website at www.immo-max.com.
>>
>> I have many properties in kmz-files imported in google maps. So in fact
>> you see the bounderies. You can click on them and them appears information
>> about the specific property.
>>
>> Is it possible to make a synchronization between google maps kmz files and
>> a small test i did at www.immo-max.com.
>>
>> Has anybody experience with that? So in fact, looking for a developer.
>>
>> --
>> 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.
>

-- 
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] Re: Can I have gps ( the blue 'you are here' dot) on an embedded map?

2011-10-05 Thread Tony Jillson
Thanks, Chris.
Interesting. I hadn't thought about a copyright issue, since the API is free to 
use. 
Anyway, I have no problem with making a custom marker. You can see them on our 
African American Walkingtour prototype here:
http://centuries.digitalgizmo.com/team/walkingtour/afram_walkingtour/maptour_kml.html

What I need is the same functionality, i.e. the marker must move around with 
you as you walk, in real time.

If that is not proprietary to Google Maps, can you point me to the code?

Thanks,
Tony

On Oct 4, 2011, at 10:42 PM, Chris Broadfoot wrote:

> Hi,
> 
> The blue dot (or something similar) can be achieved with a Marker with custom 
> MarkerIcon.
> 
> As far as I know we don't provide any access to the blue dot. I'd suggest 
> creating your own - that way you don't have to worry about any copyright 
> issues.
> 
> Chris
> 
> --
> http://twitter.com/broady
> 
> 
> 
> On Wed, Oct 5, 2011 at 5:42 AM, Birdwaves  wrote:
> On my iPad, the first example at:
> http://code.google.com/apis/maps/documentation/javascript/examples/map-geolocation.html
> does not give me the blue dot. Just a word balloon that says says
> "Location found using HTML5." It did discover my location. If I knew
> what the blue dot was called, I could research it...
> 
> 
> 
> On Oct 1, 6:02 am, Rossko  wrote:
> > > MY question is this: Can I get the GPS functionality (blue dot) using
> > > the v3 API?
> >
> > http://code.google.com/apis/maps/documentation/javascript/basics.html...
> > gives the basics
> >
> > > Secondly is there a site that that gives simple
> > > instructions?
> >
> > http://code.google.com/apis/maps/documentation/javascript/
> >
> > Some of Mike W's v2 code examples have been ported to v3 by Larry 
> > athttp://www.geocodezip.com/
> >
> > > All the web research seems to indicate that you can't do
> > > all the things in v3 that you could do in v2.
> >
> > Which things are you expecting to be a problem?  I don't see anything
> > that's likely to be an issue in your demo.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > 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.
> 
> 
> 
> -- 
> 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] Autocomplete with Route planner

2012-01-31 Thread Tony Montana
Hi,

If i wanted to combine the routeplanner and autocomplete functionality is 
that possible? because on the demo the auto complete uses the following 
script aps.googleapis.com/maps/api/js?sensor=false&libraries=places and the 
maps use http://maps.google.com/maps/api/js?sensor=false which have 
different methods and conflict when adding them together.

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/srrUmEm0ED0J.
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: right click drop down menu for adding destination on selected route 2 posts by 2 authors in Google Maps

2012-07-12 Thread Tony Montana
Hu Munna,


Did you find a solution to this, I also need a add multiple destinations to 
a map, along with changing the destination marker for each waypoint.


Thanks


On Thursday, 17 May 2012 05:46:01 UTC+1, Munna wrote:
>
> Thank You Martin for your valuable investigation. One concern, ask what I 
> tried/observed is polylines are straight lines connecting markers, but they 
> won't follow the road as direction service do.
>
> On Thursday, April 12, 2012 11:38:03 AM UTC+5:30, Martin™ wrote:
>>
>> Look at the source code for the ContextMenu example. 
>>
>> google.maps.event.addListener(map, 'rightclick', function(mouseEvent){ 
>> contextMenu.show(mouseEvent.latLng); 
>> }); 
>>
>> It's activated by a right click on the Map, a right click on a 
>> Polyline is NOT detected. 
>>
>> Now look at the documentation for the Polyline: 
>>
>>
>> https://developers.google.com/maps/documentation/javascript/reference#Polyline
>>  
>>
>> Look under Events and you will see that a Polyline has a 'rightclick' 
>> event just like the Map. 
>> So you'll want to try something like this: 
>>
>> google.maps.event.addListener(MyPolyline, 'rightclick', 
>> function(mouseEvent){ 
>> contextMenu.show(mouseEvent.latLng); 
>> }); 
>>
>> Where MyPolyline is a reference to the Polyline drawn by the 
>> DirectionsRenderer. 
>>
>> Martin. 
>>
>>
>>
>>
>> On Apr 11, 6:02 pm, Munna  wrote: 
>> > Thank you for your help. But the context menu is not working on route, 
>> > elsewhere working. Using this I can't replicate the google maps add 
>> > destinations on/outside the selected route. 
>> > 
>> > Please help 
>> > 
>> > On Mar 26, 2:09 pm, MymsMan  wrote: 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > > I haven't tried it myself but this thread shows a sample right click 
>> > > context menuhttps://
>> groups.google.com/d/topic/google-maps-js-api-v3/8mfN4FvZ4kk/d... 
>> > 
>> > > Bob 
>> > 
>> > > On Sunday, 25 March 2012 03:25:18 UTC+1, Munna wrote: 
>> > 
>> > > > Hi, 
>> > 
>> > > > I'm trying to write the code to add destination on selected route 
>> same 
>> > > > as we do in google maps. When I create a route, I should able to 
>> add 
>> > > > destination by right clicking on the path(created using 
>> > > > directionService). Should able to add some additional information 
>> > > > like  wait time at that destination and all should be sent to 
>> database 
>> > > > for future reference. Also there should be a option to add 
>> destination 
>> > > > through input field as well. 
>> > 
>> > > > That means I want to replicate what you see on google maps home. 
>> > 
>> > > > Please provide the help/script. I'm looking for this solution on 
>> > > > google for last 1 month. I've posted it on experts-exchange.com & 
>> > > > stackoverflow.com but no luck. Please please please please please 
>> help 
>> > > > me.. 
>> > 
>> > > > Thank you.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/5xgyP4ggnkgJ.
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: right click drop down menu for adding destination on selected route 2 posts by 2 authors in Google Maps

2012-07-12 Thread Tony Montana
Hi Mannu,

Actually I think i've got a solution, will put it up on stack overflow when 
I implement it.

Thanks


On Thursday, 12 July 2012 16:12:28 UTC+1, Tony Montana wrote:
>
> Hu Munna,
>
>
> Did you find a solution to this, I also need a add multiple destinations 
> to a map, along with changing the destination marker for each waypoint.
>
>
> Thanks
>
>
> On Thursday, 17 May 2012 05:46:01 UTC+1, Munna wrote:
>>
>> Thank You Martin for your valuable investigation. One concern, ask what I 
>> tried/observed is polylines are straight lines connecting markers, but they 
>> won't follow the road as direction service do.
>>
>> On Thursday, April 12, 2012 11:38:03 AM UTC+5:30, Martin™ wrote:
>>>
>>> Look at the source code for the ContextMenu example. 
>>>
>>> google.maps.event.addListener(map, 'rightclick', function(mouseEvent){ 
>>> contextMenu.show(mouseEvent.latLng); 
>>> }); 
>>>
>>> It's activated by a right click on the Map, a right click on a 
>>> Polyline is NOT detected. 
>>>
>>> Now look at the documentation for the Polyline: 
>>>
>>>
>>> https://developers.google.com/maps/documentation/javascript/reference#Polyline
>>>  
>>>
>>> Look under Events and you will see that a Polyline has a 'rightclick' 
>>> event just like the Map. 
>>> So you'll want to try something like this: 
>>>
>>> google.maps.event.addListener(MyPolyline, 'rightclick', 
>>> function(mouseEvent){ 
>>> contextMenu.show(mouseEvent.latLng); 
>>> }); 
>>>
>>> Where MyPolyline is a reference to the Polyline drawn by the 
>>> DirectionsRenderer. 
>>>
>>> Martin. 
>>>
>>>
>>>
>>>
>>> On Apr 11, 6:02 pm, Munna  wrote: 
>>> > Thank you for your help. But the context menu is not working on route, 
>>> > elsewhere working. Using this I can't replicate the google maps add 
>>> > destinations on/outside the selected route. 
>>> > 
>>> > Please help 
>>> > 
>>> > On Mar 26, 2:09 pm, MymsMan  wrote: 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > > I haven't tried it myself but this thread shows a sample right click 
>>> > > context menuhttps://
>>> groups.google.com/d/topic/google-maps-js-api-v3/8mfN4FvZ4kk/d... 
>>> > 
>>> > > Bob 
>>> > 
>>> > > On Sunday, 25 March 2012 03:25:18 UTC+1, Munna wrote: 
>>> > 
>>> > > > Hi, 
>>> > 
>>> > > > I'm trying to write the code to add destination on selected route 
>>> same 
>>> > > > as we do in google maps. When I create a route, I should able to 
>>> add 
>>> > > > destination by right clicking on the path(created using 
>>> > > > directionService). Should able to add some additional information 
>>> > > > like  wait time at that destination and all should be sent to 
>>> database 
>>> > > > for future reference. Also there should be a option to add 
>>> destination 
>>> > > > through input field as well. 
>>> > 
>>> > > > That means I want to replicate what you see on google maps home. 
>>> > 
>>> > > > Please provide the help/script. I'm looking for this solution on 
>>> > > > google for last 1 month. I've posted it on experts-exchange.com & 
>>> > > > stackoverflow.com but no luck. Please please please please please 
>>> help 
>>> > > > me.. 
>>> > 
>>> > > > Thank you.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/ac3Nv1BiqTYJ.
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] Help needed

2011-05-28 Thread Tony van der Heijden
Need help.

Just played around a little bit on a test website at www.immo-max.com.

I have many properties in kmz-files imported in google maps. So in fact you 
see the bounderies. You can click on them and them appears information about 
the specific property.

Is it possible to make a synchronization between google maps kmz files and a 
small test i did at www.immo-max.com.

Has anybody experience with that? So in fact, looking for a developer.

-- 
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.