[Google Maps API v3] Re: Businesses places on my map

2011-12-09 Thread Null Pointer
Is this what you are looking for?

http://groups.google.com/group/google-maps-js-api-v3/msg/e0f5c3fdd82264ca

A very hackish way of doing that, but its the official way.

-- 
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: The navigator is very slow with two hundred markers

2011-12-09 Thread Martin™
Maybe you've inadvertently disabled the newer canvas Markers and are
getting the older DOM markers...?

https://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/ac0d90c91ecec6a0/61a9540092badcf8?hl=en&lnk=gst

Martin.


On Dec 9, 8:53 am, angelcr  wrote:
> Hello,
>
> I am moving existing markers. I have an array of javascript's object.
> Every object has a marker and I use the setPosition function when data
> are received from server.
>
> I will check the asset tracking section.
>
> Thanks
>
> On 9 dic, 02:14, Luke Mahé  wrote:
>
>
>
>
>
>
>
> > Are you adding new markers every time or are you moving existing markers?
>
> > Also I recommend that you check that you are following the Terms of
> > Service, particularly the asset tracking section (10.2 c iii)
>
> > -- Luke
>
> > On Fri, Dec 9, 2011 at 2:02 AM, angelcr 
> > wrote:
>
> > > Hi,
>
> > > I'm developing an web application based in api google maps v3. I have
> > > a setInterval in js that gets marker's position (vehicles) every 5
> > > seconds from server. When I have more 200 markers is necessary many
> > > ram memory and the navigator (ie, chrome, firefox) is very slow. I
> > > don`t know if I use much time in setInterval process (20 seconds for
> > > example) could help me.
>
> > > If you have any idea how fix the problem?
>
> > > Thanks and sorry for my english !!
> > > Regards
> > > Angel
>
> > > --
> > > 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] how to auto-select the first item in the autocomplete pop-up to address usability issue

2011-12-09 Thread mighty
My end users are not sophisticated web users and they might not get the 
concept of the Autocomplete selection concept. Barring any usability issues 
I am happy to contend with, I want to be able to trigger the place_changed 
event so that I can get the geo-code address information from the "FIRST" 
address shown in the autocomplete pop-up. This way the users can ignore the 
autocomplete pop-up and the feature can be "SMART" about the search 
criteria and default to the 1st item shown in the pop-up. 

// autocomplete call back
function callBack() {

var place = this.getPlace();

}

function auto() {

input = document.getElementById('inputSearch');

autocomplete = new google.maps.places.Autocomplete(input); 

google.maps.event.addDomListener(autocomplete, 'place_changed', callBack);

 }

$(document).ready(function() {

  // this should trigger after user hits the tab key in the input 
field after entering some matched text

$(input).focusout(function(){
// get the first item of the autocomplete pop-up
var searchAddress = $(from).find('.pac-item:first').text();


  // update the search field with the new value
  $(input).val(searchAddress); 
 
  // trying to execute the same event as that's triggered when 
the user SELECTS an item from the Autocomplete pop-up
  $(from).find('.pac-item:first').trigger('click');

});


});

The problem is when I issue the click trigger, it doesn't invoke indirectly 
the place_changed event. this->getPlace is always 'undefined' in the 
autcomplete callback handler.

Any ideas?

-- 
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/-/PZt8O9LxgE8J.
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] Geocoding API returning different result than default Google Maps results

2011-12-09 Thread Barry Hunter
Google Maps just ignores stuff in brackets. (or more precisely its
used as a custom label) GMaps doesnt even try to understand the
meaning of the "municipality" wording.

try clicking the marker on the map to get the balloon
http://maps.google.com/maps?q=brussels+(municipality)
and compare with
http://maps.google.com/maps?q=brussels+(hay,+this+looks+a+nice+place)

So (...) is special syntax for Google Maps website itself.
 - which just happens to mean it doesn't interfere with the
'geocoding' process.


... so just strip of any bits in brackets when sending to the geocoder
- it's not going to work .





On Fri, Dec 9, 2011 at 7:05 PM, Salar al Khafaji  wrote:
> Hi,
>
> We are seeming an anomaly with a specific string when using the Geocoding
> API.
>
> When searching for the exact string "Brussels (municipality)" on the
> Geocoding API, we're getting a location in the Philippines while we're
> expecting the capital of Belgium. This also occurs on the simple geocoding
> example provided by
> Google: http://code.google.com/apis/maps/documentation/javascript/examples/geocoding-simple.html
>
> However, searching for the same string on Google Maps is returning the
> correct location: http://maps.google.com/maps?q=brussels+(municipality). We
> do note that the suggest feature of Google Maps is also returning the
> location in the Philippines, but it seems to be ignored when actually
> performing the search.
>
> Is this an issue with the Geocoding API or on the Maps data level? We'd love
> to see this resolved.
>
> Thanks!
> Salar
>
> --
> 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/-/3XtWH0pPv7IJ.
> 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: Links from KML file opening new tab / browser window

2011-12-09 Thread Nik Brockman
Could you provide a link to your working example? I've been racking my 
brain for several days trying to get this to work and I'm convinced its 
impossible to override the target="_blank" on KML files.

-- 
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/-/L3nuSIyfllwJ.
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: Geocoding API returning different result than default Google Maps results

2011-12-09 Thread Dave
I just submitted a similar question for the string "Orange, France".
It returns a location at the France Pavilion in Epcot Center in Orange
County Florida! In your case, if you zoom in close, the location is
actually on Brussels Street in the Municipality of Cainta in the
Philippines ... so in your case and mine, there's some sort of reason
there. But it still doesn't explain why the geocoder returns a result
that's different than Google Maps returns. I'd be very interested to
find out why that difference exists.

Thanks, Dave


On Dec 9, 11:05 am, Salar al Khafaji  wrote:
> Hi,
>
> We are seeming an anomaly with a specific string when using the Geocoding
> API.
>
> When searching for the exact string "Brussels (municipality)" on the
> Geocoding API, we're getting a location in the Philippines while we're
> expecting the capital of Belgium. This also occurs on the simple geocoding
> example provided by
> Google:http://code.google.com/apis/maps/documentation/javascript/examples/ge...
>
> However, searching for the same string on Google Maps is returning the
> correct location:http://maps.google.com/maps?q=brussels+(municipality). We
> do note that the suggest feature of Google Maps is also returning the
> location in the Philippines, but it seems to be ignored when actually
> performing the search.
>
> Is this an issue with the Geocoding API or on the Maps data level? We'd
> love to see this resolved.
>
> Thanks!
> Salar

-- 
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] Geocoding Problem

2011-12-09 Thread Dave
I'm hoping someone out there may have an answer to this question

I sent a geocoder request as: geocoder.geocode({'address': 'Orange,
FRANCE'}, function ... and there is one result returned with a
geometry location of (28.3687748,-81.5530163999) and location type of
'APPROXIMATE'.

That location is in Florida ... and if you look at it on Google Maps
and zoom in close, you'll see that it's at the France Pavilion in
Epcot Center (which happens to be in Orange County, Florida)! Orange,
France is actually located at 44.137531,4.807441 and I can't seem to
figure out why the geocoder sends me to Florida.

Any help is appreciated.

Thanks, Dave

-- 
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 file is not loading

2011-12-09 Thread Marcelo
On Dec 9, 9:21 am, Bernie  wrote:
> Hi,
>
> I try to load a KLM file with the german county borders into my map.
> Somehow it seems the KML file doesnt load at all.

You're missing a .com in
 var layer = new google.maps.KmlLayer('http://factfish/maps/
simple.kml');

>
> PS: Here is the Code of the HTML page "maps.html"

Not necessary. We know how to view source.



--
Marcelo - http://maps.forum.nu
--

-- 
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: Custom Icons Problem

2011-12-09 Thread geocode...@gmail.com
On Dec 9, 6:27 am, IR HM  wrote:
> Hi Larry,many thanks for replying to my post.
>
> I'm a little new to this, so could you perhaps elaborate please, as I'm a
> little unsure as to what you mean.

If you write a javascript function foo(a,b,c) { do stuff with a,b,c }
and call it with 2 arguments, you won't get an error, but inside the
function the value of c will be null.

That is what you are doing.

  -- Larry

>
> Kind regards
>
> Chris
>
> On 7 December 2011 19:57, geocode...@gmail.com  wrote:
>
>
>
>
>
>
>
> > On Dec 7, 7:22 am, IR HM  wrote:
> > > I wonder whether someone may be able to help me please.
>
> > > I'm trying to use custom icons on
> > > this
> >  > page
> > > but I've come up against a problem. The page uses two php files to
> > retrieve
> > > it's data and it's the custom icons from the second file that I can't
> > seem
> > > to show on my map. I know the formatting on the page at the moment isn't
> > > great, but this is just a test file. To see the problem I'm having,
> > select
> > > the blue link called 'Test Location 2', leave the drop down menu value at
> > > '5' and click 'Search Location'.
>
> > > I can get the custom icons working for these:
>
> > > "Finds made": {
> > > icon: 'location-marker2.png',
> > > shadow: 'location-marker2-shadow.png'},
>
> > > "No finds made": {
> > >  icon: 'location-marker1.png',
> > > shadow: 'location-marker1-shadow.png'
>
> > > },
>
> > > Which take their data from the first php file, but the set from the
> > second
> > > file (shown below), don't appear on the map, I just get the default
> > google
> > > marker.
>
> > > "Battlefield": {
> > > icon: 'battle-marker.png',
> > > shadow: 'battle-marker-shadow.png'
> > >  },
> > > "Monument": {
> > > icon: 'artifact-marker.png',
> > > shadow: 'artifact-marker-.png'
>
> > > }
> > > };
>
> > > The markers are created within this function:
>
> > > function createMarker2(latlng, sitedescription, sitetype) {
>
> > > I've tried all manner of different positions within this code to set the
> > > custom icon variable, but I just can't get it to work. I've even tried to
> > > create a var customIcons2, but this doesn't work either.
>
> > > I just wondered whether someone could have a look at this please and let
> > me
> > > know what I'm doing wrong.
>
> > When you call the createMarker2 function in your code, you never pass
> > a third argument in to it.
> > (when you leave it out it uses "null" for sitetype)
>
> >  -- Larry
>
> > > Many thanks kind regards
>
> > --
> > 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] adding a tiled map from arcgis server

2011-12-09 Thread PrettayGood
Hi I'm trying to migrate to v3, but I cannot seem to get my tiled map to 
show up.

https://netfiles.uiuc.edu/alouchio/shared/zcoal-mines.shtml

However when I substitute my url for an arcgisonline hosted tiled map 
service it works fine:
var url = 
'http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer';

Our tiled map service is in web mercator. 
I have been using this page for help:
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/arcgislink/docs/examples.html

Thank you for any help

-- 
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/-/u4wvmfX2LaMJ.
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: Extra padding to the viewport?

2011-12-09 Thread netomo
Thanks for the answer!
That may solve the InfoWindow problem, but fitBounds still being giving 
problems, that's why I asked about the padding of the viewport

-- 
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/-/xyjjDarv27wJ.
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] Geocoding API returning different result than default Google Maps results

2011-12-09 Thread Salar al Khafaji
Hi,

We are seeming an anomaly with a specific string when using the Geocoding 
API.

When searching for the exact string "Brussels (municipality)" on the 
Geocoding API, we're getting a location in the Philippines while we're 
expecting the capital of Belgium. This also occurs on the simple geocoding 
example provided by 
Google: 
http://code.google.com/apis/maps/documentation/javascript/examples/geocoding-simple.html

However, searching for the same string on Google Maps is returning the 
correct location: http://maps.google.com/maps?q=brussels+(municipality). We 
do note that the suggest feature of Google Maps is also returning the 
location in the Philippines, but it seems to be ignored when actually 
performing the search.

Is this an issue with the Geocoding API or on the Maps data level? We'd 
love to see this resolved.

Thanks!
Salar

-- 
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/-/3XtWH0pPv7IJ.
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: Custom Icons Problem

2011-12-09 Thread IR HM
Hi Davie,

Many thanks for the code, very clever!

I'm going to try and see whether I can make the changes without changing my
php scripts, but what you posted is certainly very interesting.

Kind regards

Chris

On 8 December 2011 11:51, davie  wrote:

> Hi
>
> The php file which generates the XML from MySQL uses the function
> mysql_num_rows()
> This is used to modify the XML depending on whiter the search provides
> results or not
> Here is my code (obviously your data fields are different from mine)
> //
> header("Content-type: text/xml");
> if (mysql_num_rows($result)==0) {
>$node = $dom->createElement("marker");
>$newnode = $parnode->appendChild($node);
>$newnode->setAttribute("name", "No Records Found");
>$newnode->setAttribute("address","Centered on Location");
>$newnode->setAttribute("lat", $center_lat);
>$newnode->setAttribute("lng", $center_lng);
>$newnode->setAttribute("distance", 0);
>}
>
>else {
>// Iterate through the rows, adding XML nodes for each
>while ($row = @mysql_fetch_assoc($result)){
>$node = $dom->createElement("marker");
>$newnode = $parnode->appendChild($node);
>$newnode->setAttribute("name", $row['name']);
>$newnode->setAttribute("address", $row['address']);
>$newnode->setAttribute("lat", $row['lat']);
>$newnode->setAttribute("lng", $row['lng']);
>$newnode->setAttribute("distance", $row['distance']);
>}
>
> }
>
>
> echo $dom->saveXML();
> echo $xmlfile;
>
> //..
> This will always create 1 marker even if no records are found.
> In the calling file  the first markerNode name is checked and if it is
> "No Records Found"  the default marker is used otherwise the other
> marker is used.
> ie
>  var name = markerNodes[0].getAttribute("name");
>   if(name=="No Records Found") {
>mode =0;
>   }
>   else{
>   mode =1;
>   }
>
>
> Regards Davie
>
>
> On Dec 7, 4:43 pm, IR HM  wrote:
> > Hi Davie, many thanks for taking the time to reply to my post. This looks
> > like it will do the trick.
> >
> > However I've implemented it and updated my page, but unfortunately I'm
> > still getting the default google icon.
> >
> > Any ideas please?
> >
> > Kind regards
> >
> > Chris
> >
> > On 7 December 2011 16:25, davie  wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Hi
> > > See my maphttp://daviestrachan.zxq.net/maps/stationmap.php
>  > > If you type in Paris with a radius of 25 miles the marker locates in
> > > Paris where there are no records with ! marker
> > > if you type in London any radius there are records and you get railway
> > > marker
> > > Is this somthing like you want?
> > > Regards Davie
> >
> > > On Dec 7, 3:22 pm, IR HM  wrote:
> > > > I wonder whether someone may be able to help me please.
> >
> > > > I'm trying to use custom icons on
> > > > this
> > >  > page
> > > > but I've come up against a problem. The page uses two php files to
> > > retrieve
> > > > it's data and it's the custom icons from the second file that I can't
> > > seem
> > > > to show on my map. I know the formatting on the page at the moment
> isn't
> > > > great, but this is just a test file. To see the problem I'm having,
> > > select
> > > > the blue link called 'Test Location 2', leave the drop down menu
> value at
> > > > '5' and click 'Search Location'.
> >
> > > > I can get the custom icons working for these:
> >
> > > > "Finds made": {
> > > > icon: 'location-marker2.png',
> > > > shadow: 'location-marker2-shadow.png'},
> >
> > > > "No finds made": {
> > > >  icon: 'location-marker1.png',
> > > > shadow: 'location-marker1-shadow.png'
> >
> > > > },
> >
> > > > Which take their data from the first php file, but the set from the
> > > second
> > > > file (shown below), don't appear on the map, I just get the default
> > > google
> > > > marker.
> >
> > > > "Battlefield": {
> > > > icon: 'battle-marker.png',
> > > > shadow: 'battle-marker-shadow.png'
> > > >  },
> > > > "Monument": {
> > > > icon: 'artifact-marker.png',
> > > > shadow: 'artifact-marker-.png'
> >
> > > > }
> > > > };
> >
> > > > The markers are created within this function:
> >
> > > > function createMarker2(latlng, sitedescription, sitetype) {
> >
> > > > I've tried all manner of different positions within this code to set
> the
> > > > custom icon variable, but I just can't get it to work. I've even
> tried to
> > > > create a var customIcons2, but this doesn't work either.
> >
> > > > I just wondered whether someone could have a look at this please and
> let
> > > me
> > > > know what I'm doing wrong.
> >
> > > > Many thanks kind regards
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Maps JavaScript API v3" group.
> > > To po

[Google Maps API v3] Businesses places on my map

2011-12-09 Thread Vincent Gagné
Newbie question, searched for the answer but could find it:
How can I take google maps places (cafes, restaurants etc.) off my map if 
at all.
http://voya.ge/search/results?search%5Badvanced%5D=0&search%5Baddress%5D=budapest&commit=GO&search%5Bmin_price%5D=&search%5Bmax_price%5D=&search%5Bbedrooms%5D=&search%5Bbathrooms%5D=&search%5Bnumber_of_guests%5D=#/?center_lat=47.509605309379715¢er_lng=19.063468729638767&zoom=17

Any other advice is welcome too!

-- 
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/-/lGHIz7IxuVUJ.
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 file is not loading

2011-12-09 Thread Bernie
Hi,

I try to load a KLM file with the german county borders into my map.
Somehow it seems the KML file doesnt load at all.
So I tried it with a very basic KML file and its still not working,
when I type in the URL of the KML file in the browser and open the map
with Google earth its working fine.

You can find the example at http://www.factfish.com/maps/maps.html
The simple map is at http://www.factfish.com/maps/simple.kml
The full map at
http://www.factfish.com/maps/germany_counties_full.kml or
http://www.factfish.com/maps/germany_counties_full.kmz

Any hint is appreciated, thanks!

Bernhard

PS: Here is the Code of the HTML page "maps.html"




http://maps.google.com/maps/api/js?
sensor=false">

  function initialize() {
// Somewhere in Germany
var latlng = new google.maps.LatLng(51.0, 10);
var myOptions = {
  zoom: 6,
  center: latlng,
  mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new
google.maps.Map(document.getElementById("map_canvas"), myOptions);

var layer = new google.maps.KmlLayer('http://factfish/maps/
simple.kml');
layer.setMap(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] Custom overlay issue

2011-12-09 Thread Ankit Jain
Hi

I have a cutom overlay (overlayView). There is a canvas attached with this. 
I am facing problems with redraw on this canvas. I have some drawings on 
the canvas, if suppose I zoom in now, Some part of canvas drawings go out 
of the view. Now I drag/pan the view to bring in the drawings that have 
gone out of the view, but the problem is that, that drawing is cut out, it 
is not redrawn, as if it is getting clipped.

Thanks in advance for helping.

-- 
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/-/QMASTISKNeMJ.
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/11/7 - New Release (3.7) - editable shapes, DrawingManager, and more

2011-12-09 Thread Jakub Synowiec
I've implemented my own functionality of editing polylines by dragging 
their vertices, adding a new ones on the path and removing others. Now, I 
would like to migrate my code to this native solution, but I can't find a 
way to remove those rectangle path-markers from polyline when editable is 
set to true. Also is there a way to hook into left/right mouse click or 
drag events of those markers?

-- 
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/-/0gsxTJV1jRgJ.
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: The navigator is very slow with two hundred markers

2011-12-09 Thread Jakub Synowiec
Check if MarkerManager from utility library (*
http://code.google.com/p/google-maps-utility-library-v3/*)
 solves 
your problem.

-- 
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/-/JnsqdfYJQmEJ.
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: Calculate Bounds without using map control

2011-12-09 Thread Marcelo
A point and zoom level is not enough information to calculate bounds.
You also need to know the size of the map.
You might want to rethink what you're trying to do.

--
Marcelo - http://maps.forum.nu
--




On Dec 9, 2:43 am, Paresh  wrote:
> Hi All,
>
> I am in a need of routine where I can calculate bounds of a map with
> only given coordinates of a point and a zoom level. I am writing a
> utility in the C# console application to generate map blocks (need to
> generate only bounds) using a point and zoom level.
>
> Any Idea?

-- 
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: FusionTablesLayer suddenly quit working

2011-12-09 Thread Jason Kirkland
I'm only seeing some of my polygons in a Maps API FusionTablesLayer 
suddenly. Normally there are dozens, now just a couple.  In Chrome 
developer tools, the images being returned from mapsIt (the ones that don't 
seem to be displaying correctly) are 1x1 pixels
The information contained in this email is meant solely for the intended 
recipient. 
Access to this email by anyone else is unauthorized. If you are not the 
intended recipient, 
any disclosure, copying, distribution or any action taken or omitted in 
reliance on this, 
is prohibited and may be unlawful. No liability or responsibility is accepted 
if information 
or data is, for whatever reason, corrupted or does not reach its intended 
recipient. 
No warranty is given that this email is free of viruses. The views expressed in 
this email are, 
unless otherwise stated, those of the author and not those of the City of 
Lewisville or its management.

-- 
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/-/odWjEvvCKXoJ.
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: Google map doesn't work on IE9 mobile on Windows phone

2011-12-09 Thread Enoch Lau (Google Employee)
If IE Mobile / Windows Phone support is desirable, please feel free to file 
a feature request: http://code.google.com/p/gmaps-api-issues/issues/list

Enoch

-- 
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/-/v0DwwhovvGUJ.
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: Google map doesn't work on IE9 mobile on Windows phone

2011-12-09 Thread Andrew Leach
On 9 December 2011 16:21, JFrancis  wrote:
> Could you elaborate on your statement "Windows phone is not supported?" Your
> link would seem to indicate the browser, yet my understanding is Windows 7
> Phone runs a version of Internet Explorer Mobile with a rendering engine
> which is based on IE 9.

The problem (as I have experienced it) is that the OS captures user
actions and applies them to the entire page. It doesn't pass
pinch-to-zoom or pans through to the map. Clicks (touches) are ok on
the map. But without being able to pan it's a bit limited.

-- 
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] Unwanted markers showing up in MSIE 8

2011-12-09 Thread Tassilo
Hi,

I use custom multiple markers on a v3 map.

In MSIE8, additional, unwanted markers on a regular grid (matching
size of the map's tiles) show up.

http://www.wellness-heaven.net/index.php?section=map&hotel=schloss-elmau

As soon as one zooms in or out, the "grid markers" disappear.

In the error console of MSIE8, there are no js errors.

Note that on this map there is a focus on a specific hotel, with
infowindow opened.
When the map without hotel focus is loaded, there are no "grid
markers" and everything works fine.

http://www.wellness-heaven.net/index.php?section=map

Any help would be very much appreciated.

Thanks,

  Tassilo

-- 
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] Calculate Bounds without using map control

2011-12-09 Thread Paresh
Hi All,

I am in a need of routine where I can calculate bounds of a map with
only given coordinates of a point and a zoom level. I am writing a
utility in the C# console application to generate map blocks (need to
generate only bounds) using a point and zoom level.

Any Idea?

-- 
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: Google map doesn't work on IE9 mobile on Windows phone

2011-12-09 Thread Rossko
> Windows 7 Phone runs a version of Internet Explorer Mobile

Internet Explorer Mobile is not in the supported browser list.
That doesn't necesserily mean it won't work at all, but some features
might not.

-- 
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: Google map doesn't work on IE9 mobile on Windows phone

2011-12-09 Thread JFrancis
Could you elaborate on your statement "Windows phone is not supported?" 
Your link would seem to indicate the browser, yet my understanding is 
Windows 7 Phone runs a version of Internet Explorer Mobile with a rendering 
engine which is based on IE 9.

JF

-- 
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/-/Cj91hTqD52YJ.
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: moving the mouse over the custom marker creates mouseover and mouseout events

2011-12-09 Thread rlk27
I tried stopPropagation() and cancleBubble=true but did not work.

-- 
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/-/eFjiZWFjhPYJ.
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: moving the mouse over the custom marker creates mouseover and mouseout events

2011-12-09 Thread rlk27
I can not generate image with text and color as it should be dynamically 
created based on the live information.
 
I managed to solve the problem by using the bus image with marker and mouse 
events on the marker and used overlayView for the custom label (text and 
color) with z-index one up to make it on top of the marker image and 
adjusted the pixel offet.
 
thanks
Rlk27

-- 
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/-/znW3ZnnP1cQJ.
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: Custom Icons Problem

2011-12-09 Thread IR HM
Hi Larry,many thanks for replying to my post.

I'm a little new to this, so could you perhaps elaborate please, as I'm a
little unsure as to what you mean.

Kind regards

Chris

On 7 December 2011 19:57, geocode...@gmail.com  wrote:

> On Dec 7, 7:22 am, IR HM  wrote:
> > I wonder whether someone may be able to help me please.
> >
> > I'm trying to use custom icons on
> > this
>  > page
> > but I've come up against a problem. The page uses two php files to
> retrieve
> > it's data and it's the custom icons from the second file that I can't
> seem
> > to show on my map. I know the formatting on the page at the moment isn't
> > great, but this is just a test file. To see the problem I'm having,
> select
> > the blue link called 'Test Location 2', leave the drop down menu value at
> > '5' and click 'Search Location'.
> >
> > I can get the custom icons working for these:
> >
> > "Finds made": {
> > icon: 'location-marker2.png',
> > shadow: 'location-marker2-shadow.png'},
> >
> > "No finds made": {
> >  icon: 'location-marker1.png',
> > shadow: 'location-marker1-shadow.png'
> >
> > },
> >
> > Which take their data from the first php file, but the set from the
> second
> > file (shown below), don't appear on the map, I just get the default
> google
> > marker.
> >
> > "Battlefield": {
> > icon: 'battle-marker.png',
> > shadow: 'battle-marker-shadow.png'
> >  },
> > "Monument": {
> > icon: 'artifact-marker.png',
> > shadow: 'artifact-marker-.png'
> >
> > }
> > };
> >
> > The markers are created within this function:
> >
> > function createMarker2(latlng, sitedescription, sitetype) {
> >
> > I've tried all manner of different positions within this code to set the
> > custom icon variable, but I just can't get it to work. I've even tried to
> > create a var customIcons2, but this doesn't work either.
> >
> > I just wondered whether someone could have a look at this please and let
> me
> > know what I'm doing wrong.
>
> When you call the createMarker2 function in your code, you never pass
> a third argument in to it.
> (when you leave it out it uses "null" for sitetype)
>
>  -- Larry
>
> >
> > Many thanks kind regards
>
> --
> 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: Extra padding to the viewport?

2011-12-09 Thread Keir
Is it possible to add an event listener to the marker so that it
recentres the map when you click on it - to move the whole marker and
InfoWindow to the right and lower on the map?

google.maps.event.addListener(marker, 'click', function()
map.setCenter(foobar);
});



On Dec 8, 6:53 pm, netomo  wrote:
> Hi all,
>
> I am using google maps with some "divs" overlapping, the idea is that these
> "divs" let you see the map (using rgba). The problem is that when I use "
> InfoWindow" or "map.fitBounds ()" obviously they use the entire viewport,
> there is some possibility of adding some extra padding that has a default
> viewport? or use some javascript trick to solve this?.
>
> You can se the live code here:http://jsfiddle.net/netomo/8K9vj/2/
> And the result:http://jsfiddle.net/netomo/8K9vj/2/embedded/result/
>
> 
> Thank you all!

-- 
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: The navigator is very slow with two hundred markers

2011-12-09 Thread angelcr
Hello,

I am moving existing markers. I have an array of javascript's object.
Every object has a marker and I use the setPosition function when data
are received from server.

I will check the asset tracking section.

Thanks

On 9 dic, 02:14, Luke Mahé  wrote:
> Are you adding new markers every time or are you moving existing markers?
>
> Also I recommend that you check that you are following the Terms of
> Service, particularly the asset tracking section (10.2 c iii)
>
> -- Luke
>
> On Fri, Dec 9, 2011 at 2:02 AM, angelcr 
> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I'm developing an web application based in api google maps v3. I have
> > a setInterval in js that gets marker's position (vehicles) every 5
> > seconds from server. When I have more 200 markers is necessary many
> > ram memory and the navigator (ie, chrome, firefox) is very slow. I
> > don`t know if I use much time in setInterval process (20 seconds for
> > example) could help me.
>
> > If you have any idea how fix the problem?
>
> > Thanks and sorry for my english !!
> > Regards
> > Angel
>
> > --
> > 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.