[Google Maps API v3] 2011/4/14 - New Release

2011-04-14 Thread Remi Grumeau
After reading this blogpost, I would love to get a "diff" of Terms, to see all 
minor changes.

-- 
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] Some info about license and conditions (restricted access, data storage...)

2011-04-14 Thread Thor Mitchell (Google Employee)
So just to add some colour, having been intimately involved in the 
redrafting of that clause, the revised wording is intended to address an 
ambiguity that we saw being increasingly exploited. Sites would make the 
base map publicly available, but only display data on the map once a user 
has logged in through a paywall, and then claim that no Premier license was 
needed because the map was publicly available for free. It was never our 
intention to permit this, but it was not previously clear in the old terms 
that the for-fee restriction relates to the whole application, and not just 
the map imagery. ie. such a workaround was never in the spirit of the old 
terms, so we ensured it was not in the letter of the new terms.

As for this specific case it comes down to exactly when you show a map, to 
who you show that map, and what that map contains. If the only map you show 
is the map that is freely accessible to the public, and all of the data that 
any user has added to the map (regardless of whether they paid or not) is 
freely available to all users on that map, then it's OK. However if any of 
the data added to the map is only visible to the people who uploaded it or 
to someone who has paid for the privilege then you need a Premier license. 
Also if you use a map application as the UI for adding data, and the map 
application that you present to paying users has more features or more data 
than the map presented to free users, then you need a Premier license.

Hope that helps,

Thor.

-- 
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: Polygons not rendering

2011-04-14 Thread Chris Broadfoot
Hi Jason,

The reason for this bug is that polylines and polygons can no longer share
the same MVCArray. This is a new limitation (one might call it a
regression), but easily mitigated in your case.

Here are a few workarounds:
- Apply the stroke to the polygon. A polygon with two vertices will be
rendered as a line.
- Use two separate MVCArrays

If you (or others) feel these workarounds aren't sufficient, please let me
know why.

Chris

On Thu, Apr 14, 2011 at 12:24 PM, Jason Sanford wrote:

> I've got a demo that shows using Google's geometry library to measure
> length/area which doesn't work any more. The geometry for the polygon is
> still good, as the area measurements I'm getting are accurate, but polygon
> is drawn. I'm actually drawing a line and a polygon and the line stops
> drawing after 3 vertices, but continues returning valid length measurements.
> Dropping to v3.3 fixes the issue, but I'm leaving it up in hopes to help
> debug the problem.
>
> http://demos.geojason.info/google-maps-api-v3-geometry-library.php
>
>
> On Wed, Apr 13, 2011 at 4:52 PM, Adam  wrote:
>
>> *Temp fix:*
>> http://maps.google.com/maps/api/js?*v=3.3*&sensor=true
>>
>> *Theory:*
>> Polygons must have a border in 3.4.
>>
>> --
>> 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.
>



-- 
http://twitter.com/broady

-- 
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: Tabbed Information in Info Balloons

2011-04-14 Thread sb
The APIv3 does not support tabbed infowindows according to the
reference.

The best example I can find is;
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.html

>From a utility library;
http://code.google.com/p/google-maps-utility-library-v3/wiki/Libraries

If you find something better please let me know.

On Apr 14, 3:24 pm, Chandra Miller  wrote:
> I have created a map and would like to further enhance it by adding
> tabbed info balloons.  The map is located 
> athttp://156.42.96.39/alert/Google/rain.html
> - source code is open to view.  The mapmakers are created from a .js
> files and that is where the information on the balloons is coming from
> currently.  I would like to add an addition tab below the current tab/
> balloon where I could display graphs.  Rainfall last 24 hrs,
> Hydrographs for stream gages, temperature trend over last 24 etc.  I
> am not finding any examples online of how this is done.  Does anyone
> have any ideas OR could you direct me somewhere to get help.  I have
> already looked at places likehttp://econym.org.uk/gmap/and all
> Google Map Developer's Guide and nothing has anything this advanced on
> it.
> Thank you,
> Chandra Miller

-- 
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] Some info about license and conditions (restricted access, data storage...)

2011-04-14 Thread Luke Mahé
Thanks for that Andrew, as I mentioned it is best to check with your own
lawyer to see if they think you will be within the Terms in your specific
country :)

-- Luke

On Fri, Apr 15, 2011 at 2:46 AM, Andrew Leach wrote:

> On 4 April 2011 11:16, Andrew Leach  wrote:
> >
> > If the intention of the Terms is to enforce a payment to Google for
> > something which does not affect access to the map and is not in their
> > control (like database space), then the Terms should make that
> > explicit. The use of the word "require" would indicate otherwise.
>
> Sorry to drag this thread up again, but it seems Luke's comments may
> have been based on the new Terms -- which weren't published on 4
> April, but which he would certainly have known were in the pipeline.
>
> The new Term 9.1.1 says "Your Maps API Implementation must be
> generally accessible to users without charge and must not require a
> fee-based subscription or other fee-based restricted access. This rule
> applies to Your Content and any other content in your Maps API
> Implementation, whether Your Content or the other content is in
> existence now or is added later."
>
> I still maintain that the purchase of database space to allow more
> content to be stored doesn't fall into the "Your Content" clause here.
> There is no charge to access the map, or My Content in the map
> (however much there is of My Content). There is a charge to store
> data; once it's stored and *becomes* My Content [that is, "added
> later"] then it's freely available to anyone who accesses the map.
> That's compatible with the Terms.
>
> As an aside, albeit related, I doubt that a UK court would allow
> Google to restrict my trade in My Content anyway, since (a) Term 11.1
> cedes all claim to it and (b) it is possible to provide a free
> generally-accessible Implementation, while reasonably protecting my
> investment in my data. It is likely that, under Term 19.3, the
> sentence "This rule applies..." should be struck out in the United
> Kingdom.
>
> --
> 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: Google maps api only working in IE8

2011-04-14 Thread Rossko
> its something to do with the php/xml in the phpsqlsearch_genxml.php file.
> if the sql query is successful no xml gets output.

I wouldn't say that.  You can test it by pasting a sample URL into
your browser's address bar
http://www.testcentresearch.co.uk/phpsqlsearch_genxml.php?lat=54.876607&lng=-4.526367&radius=10&sel=ALL
IE displays XML.
FF doesn't - but if you use 'view source' you can see that XML is
being delivered to the browser.
It's the parsing that is the problem, note that your code has no error
detection or reporting (it's taken from an example, which isn't a
complete finished application).
I still think it is as simple as a blank line in front of the http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: LOADING JAVASCRIPT API V3

2011-04-14 Thread geocode...@gmail.com
On Apr 14, 8:40 am, "gordonsl...@aol.com"  wrote:
> HOW DO I LOAD GOOGLE MAPS TO MY URL? HERE IS MY URL GORDONSLIST.COM

Try the documentation:
http://code.google.com/apis/maps/documentation/javascript/basics.html

Start with a simple map on its own page.

  -- Larry

-- 
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] LOADING JAVASCRIPT API V3

2011-04-14 Thread gordonsl...@aol.com
HOW DO I LOAD GOOGLE MAPS TO MY URL? HERE IS MY URL GORDONSLIST.COM MY
LATITUDE AND LONGITUDE NUMBERS HAVE BEEN SET ON MY PAGE BUT MAPS ARE
NOT SHOWING ON THE SITE

-- 
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] LOADING JAVASCRIPT API V3

2011-04-14 Thread gordonsl...@aol.com
HOW DO I LOAD GOOGLE MAPS TO MY URL? HERE IS MY URL GORDONSLIST.COM

-- 
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 maps api only working in IE8

2011-04-14 Thread Ben Williamson
its something to do with the php/xml in the phpsqlsearch_genxml.php file.
if the sql query is successful no xml gets output.
if the sql query fails it gives the sql error.???

-- 
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: customs info windows

2011-04-14 Thread Lennart K
Thanks Gary, for a very quick answer. I'll try to follow your advice,
though javascript is not my "native language" if you see what I
mean...
Lennart

On 14 Apr, 20:13, Gary Little  wrote:
> InfoBox has a setContent method for changing the content and a
> setPosition method for changing the position.
>
> So in your click handler for a marker you can get the position of the
> marker (google.maps.Marker.getPosition()), then pass the result on to
> the InfoBox to reposition it at the marker clicked. At the same time,
> you can change the content of the InfoBox as well -- to content that
> is dependent on the marker that is clicked.
>
> I notice you're using a closure variable (point) to set the position
> of the InfoBox. Problem is, you're defining that variable in a loop, a
> big no-no. Instead, set the position parameter in boxOptions to
> this.getPosition()
>
> I also notice you're creating a new InfoBox every time a marker is
> clicked. You should probably creating a single master InfoBox and keep
> track of it with a global variable. You can then manipulate it in the
> click handler.
>
> Gary
>
> On Apr 14, 10:35 am, Lennart K  wrote:
>
>
>
> > Hi, all you keen developers! Can you give me some advice, please.
> > I've been trying for some time to creat customs info windows on my
> > maps. Finally i managed to get a window with the help of infobox.js,
> > in the google-maps-utility-library.
> > Now the problem: I've got a various numbers of markers diplaying om
> > the maps (recoveries of ringed birds) an the info windows contain info
> > about each recovery. clicking on a marker should open the window
> > connected with the marker just as default Google Maps InfoWindows do.
> > What happens now is that whichever marker I click on I get the same
> > information in the InfoBox all the time and the InfoBox is at the same
> > position.
> > So I have two questions:
> > 1. Is it possible to position the InfoBox in connection with the
> > markers and if so, how do I do it?
> > 2. How do I get the infobox to show the info for the marker I click
> > on?
> > I can tell that before I added the eventlistener 'click' all infoboxes
> > appeared on the map at different positions and thus covered most of
> > the map.
> > The maps can be found 
> > athttp://www.skof.se/fbo/arkiv/Aterfynd/min_phpsqlajax_map3.php
> > In order to make it display properly you may start 
> > athttp://www.skof.se/fbo/arkiv/Aterfynd/fynduttag.phpandselect a bird
> > species from the top left dropdown-menu. 'Tornfalk'  is a good species
> > to select :-)
> > Thank you in advance
> > Lennart K- Dölj citerad text -
>
> - Visa citerad text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Tabbed Information in Info Balloons

2011-04-14 Thread Chandra Miller
Tabbed Info in InfoWindow

-- 
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: Animated Custom Map controls

2011-04-14 Thread Esa
API just appendChilds your control element to a control layer div when
you push it to map.controls. It also positions your control element
like

  {position: absolute; top: 0px; right; 0px; z-index: 10}

It repeats the positioning every now and then. I guess that is the
positioning that breaks your animation. Try wrapping your control in a
wrapper div and push the wrapper div into map.controls instead. So api
does not touch those properties of your control.

That is just a wild guess because you didn't provide any link.

-- 
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: Store Locator

2011-04-14 Thread Mike Wellman
I managed to do it by wrapping the information like so while the php ordered
the distance to xml:

Did this for each state:

$('#sidebar div.PA').wrapAll('');
$('#sidebar div.PA:first').before('Pennsylvania
Locations');

On Thu, Apr 14, 2011 at 3:01 PM, Barry Hunter wrote:

> I suggest you ask a clairvoyant, not sure we can help you any further
> either.
>
> (unless there is a clairvoyant among us?!)
>
> Posting a link to your map, may help somewhat.
>
>
> On 14 April 2011 19:54, Mike Wellman  wrote:
> > Still doesn't seem to work. Not sure what the problem could be. :/
> >
> > On Tue, Apr 12, 2011 at 5:16 PM, Prophet  wrote:
> >>
> >> Yes that is what was I was seeing.
> >>
> >> I tried using a mysql temp table to try to help with the issue but
> >> that's a no go.
> >>
> >> I'm trying through the push array right now.
> >>
> >> Here is my code if either of you see anything:
> >>
> >>
> >> function initMenus() {
> >>$('ul.menu ul').hide();
> >>$.each($('ul.menu'), function(){
> >>$('#' + this.id + '.expandfirst ul:first').show();
> >>});
> >>
> >>$('ul.menu li a').hover(
> >>function() {
> >>var checkElement = $(this).next();
> >>var parent = this.parentNode.parentNode.id;
> >>
> >>if($('#' + parent).hasClass('noaccordion')) {
> >>$(this).next().slideToggle('normal');
> >>return false;
> >>}
> >>if((checkElement.is('ul')) &&
> >> (checkElement.is(':visible'))) {
> >>if($('#' +
> parent).hasClass('collapsible'))
> >> {
> >>$('#' + parent + '
> >> ul:visible').slideUp('normal');
> >>}
> >>return false;
> >>}
> >>if((checkElement.is('ul')) &&
> >> (!checkElement.is(':visible'))) {
> >>$('#' + parent + '
> >> ul:visible').slideUp('normal');
> >>checkElement.slideDown('normal');
> >>return false;
> >>}
> >>
> >>}
> >>
> >>);
> >>$('ul.menu ul.menushow').show();
> >> }
> >>
> >>
> >>
> >>google.load("maps", "3",  {callback: initialize,
> >> other_params:"sensor=false"});
> >>
> >>var map;
> >>var markers = [];
> >>var infoWindow;
> >>var locationSelect;
> >>var sideBar;
> >>
> >>function initialize() {
> >>
> >>initMenus();
> >>  map = new google.maps.Map(document.getElementById("map"), {
> >>center: new
> >> google.maps.LatLng(google.loader.ClientLocation.latitude,
> >> google.loader.ClientLocation.longitude),
> >>zoom: 5,
> >>mapTypeId: 'roadmap',
> >>panControl: true,
> >>scaleControl: true,
> >>zoomControl: true,
> >>zoomControlOptions: {
> >>style: google.maps.ZoomControlStyle.SMALL
> >>},
> >>streetViewControl: true,
> >>mapTypeControl: true,
> >>mapTypeControlOptions: {style:
> >> google.maps.MapTypeControlStyle.DROPDOWN_MENU}
> >>  });
> >>
> >>  infoWindow = new google.maps.InfoWindow();
> >>
> >>  locationSelect = document.getElementById("locationSelect");
> >>  sideBar = document.getElementById("sidebar");
> >>
> >>
> >>
> >>  locationSelect.onchange = function() {
> >>var markerNum =
> >> locationSelect.options[locationSelect.selectedIndex].value;
> >>if (markerNum != "none"){
> >>  google.maps.event.trigger(markers[markerNum], 'click');
> >>}
> >>  };
> >>   }
> >>
> >>   function searchLocations() {
> >> var address = document.getElementById("addressInput").value;
> >> var radius = document.getElementById('radiusSelect').value;
> >> var stateSelect = document.getElementById("stateSelect");
> >> var stateSelectValue =
> >> stateSelect.options[stateSelect.selectedIndex].value;
> >> var centerPoint = "("+google.loader.ClientLocation.latitude + ",
> "
> >> +
> >> google.loader.ClientLocation.longitude+")";
> >>if (address != "") {
> >>var geocoder = new google.maps.Geocoder();
> >>geocoder.geocode({address: address},
> >> function(results, status) {
> >>if (status ==
> google.maps.GeocoderStatus.OK
> >> && address != "") {
> >>
> >>  searchLocationsNear(results[0].geometry.location, radius,
> >> stateSelectValue);
> >>}
> >>});
> >>}else if(address == "" && stateSelectValue != "none"){
> >>searchLocationsNear(centerPoint, 5,
> >> stateSelectV

[Google Maps API v3] Tabbed Information in Info Balloons

2011-04-14 Thread Chandra Miller
I have created a map and would like to further enhance it by adding
tabbed info balloons.  The map is located at 
http://156.42.96.39/alert/Google/rain.html
- source code is open to view.  The mapmakers are created from a .js
files and that is where the information on the balloons is coming from
currently.  I would like to add an addition tab below the current tab/
balloon where I could display graphs.  Rainfall last 24 hrs,
Hydrographs for stream gages, temperature trend over last 24 etc.  I
am not finding any examples online of how this is done.  Does anyone
have any ideas OR could you direct me somewhere to get help.  I have
already looked at places like http://econym.org.uk/gmap/ and all
Google Map Developer's Guide and nothing has anything this advanced on
it.
Thank you,
Chandra Miller

-- 
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: Adding Jquery UI slider custom control

2011-04-14 Thread en4ce
you did something like this:


map.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push($
("#opslider"));

?

On 14 Apr., 20:38, teknocreator  wrote:
> Matt,
>
> Yeah, it's not completely clear cut.  I don't know if this helps but I
> got this Min value horizontal jQuery UI slider to work for setting/
> getting our map's overlay opacity:
>
> In the main javascript area:
>
> // gets the current slider value and sets the Google Maps overlay's
> opacity to it
> // GMoverlay is a global ProjectedOverlay object
>
>   function getsliderval() {
>     var op = $("#opslider").slider("value");
>     if (GMoverlay)
>       GMoverlay.setOpacity(op);
>     $("#opacity").html(op+"%");   // This displays the opacity value
> followed by the percent sign outside of the map area
>   }
>
> // slider function using jQuery UI; calls function above when the
> value changes or slide is used
>
>   $(function() {
>      $( "#opslider" ).slider({
>           range: "min",
>           min: 0,
>           max: 100,
>           value: 50,
>           slide: getsliderval,
>           change: getsliderval
>      });
>      $( "#opacity" ).val( $( "#opslider").slider("value"));
>   });
>
> In the  section of the document:
>
>   
>        style="position:absolute; top:200px;left:450px">Opacity:   id="opacity">
>     
>
> Hope that helps.
>
> Dave
>
> On Apr 14, 11:33 am, en4ce  wrote:
>
>
>
>
>
>
>
> > hey, you can upload your files to dropbox for example. about the
> > jquery thing...i tryed
> > something simular yesterday and it did not work, jquery seems not
> > getting the events if something is a cumstom map control and embedded
> > in the map it self, i will open a new topic about that in a few
> > but what you can do:
> > 1. dont attach the slider to the map
> > 2. place it obove the map via z-index and position relative/absolute
> > 3. set a function to the slider, this function should set the zoom
> > level
> > there are some events to determine if the map is fully loaded, search
> > in the forum that for
>
> > On 14 Apr., 13:54, Matt Alonso  wrote:
>
> > > Sorry about that, it was in a dev staging environment and I did not
> > > have a publicly accessible link I could send out.
>
> > > I was able to figure out how to do this though...sort of.  I had been
> > > trying to get the control to be added "automatically" as soon as
> > > possible.  However, I relaxed that requirement b/c our implementation
> > > will not be able to make sure of the slider until a user chooses a
> > > variable and so I've just attached the slider creation into the events
> > > that trigger overlays being put on the map.
>
> > > For whatever it is worth, I included a couple snippets of code below.
>
> > > Addition of the custom control (div):
>
> > > var sliderContainer = document.createElement('DIV');
> > > sliderContainer.innerHTML='';
> > > controlDiv.appendChild(sliderContainer);
>
> > > Code I want(ed) to be triggered automatically (Note: This code is in a
> > > separate file):
>
> > >         $('div#sliderContainer').html('');
> > >         $(function() {
> > >                 $( "div#sliderContainer" ).slider({
> > >                         orientation: "vertical",
> > >                         range: "min",
> > >                         min: 0,
> > >                         max: 100,
> > >                         value: 60,
> > >                         slide: function( event, ui ) {
> > >                                 self.overlay.setOpacity(ui.value)
> > >                         }
> > >                 });
> > >                 sliderSet=1;
> > >         });
>
> > > I guess I am also sort of curious to know how to (programmaticly)
> > > determine that the map is loaded and modifications can be made to the
> > > controls.
>
> > > Thanks
>
> > > On Apr 14, 5:11 am, en4ce  wrote:
>
> > > > link?

-- 
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: Store Locator

2011-04-14 Thread Barry Hunter
I suggest you ask a clairvoyant, not sure we can help you any further either.

(unless there is a clairvoyant among us?!)

Posting a link to your map, may help somewhat.


On 14 April 2011 19:54, Mike Wellman  wrote:
> Still doesn't seem to work. Not sure what the problem could be. :/
>
> On Tue, Apr 12, 2011 at 5:16 PM, Prophet  wrote:
>>
>> Yes that is what was I was seeing.
>>
>> I tried using a mysql temp table to try to help with the issue but
>> that's a no go.
>>
>> I'm trying through the push array right now.
>>
>> Here is my code if either of you see anything:
>>
>>
>> function initMenus() {
>>        $('ul.menu ul').hide();
>>        $.each($('ul.menu'), function(){
>>                $('#' + this.id + '.expandfirst ul:first').show();
>>        });
>>
>>        $('ul.menu li a').hover(
>>                function() {
>>                        var checkElement = $(this).next();
>>                        var parent = this.parentNode.parentNode.id;
>>
>>                        if($('#' + parent).hasClass('noaccordion')) {
>>                                $(this).next().slideToggle('normal');
>>                                return false;
>>                        }
>>                        if((checkElement.is('ul')) &&
>> (checkElement.is(':visible'))) {
>>                                if($('#' + parent).hasClass('collapsible'))
>> {
>>                                        $('#' + parent + '
>> ul:visible').slideUp('normal');
>>                                }
>>                                return false;
>>                        }
>>                        if((checkElement.is('ul')) &&
>> (!checkElement.is(':visible'))) {
>>                                $('#' + parent + '
>> ul:visible').slideUp('normal');
>>                                checkElement.slideDown('normal');
>>                                return false;
>>                        }
>>
>>                }
>>
>>        );
>>        $('ul.menu ul.menushow').show();
>> }
>>
>>
>>
>>        google.load("maps", "3",  {callback: initialize,
>> other_params:"sensor=false"});
>>
>>    var map;
>>    var markers = [];
>>    var infoWindow;
>>    var locationSelect;
>>        var sideBar;
>>
>>    function initialize() {
>>
>>                initMenus();
>>      map = new google.maps.Map(document.getElementById("map"), {
>>        center: new
>> google.maps.LatLng(google.loader.ClientLocation.latitude,
>> google.loader.ClientLocation.longitude),
>>        zoom: 5,
>>        mapTypeId: 'roadmap',
>>                panControl: true,
>>                scaleControl: true,
>>                zoomControl: true,
>>                zoomControlOptions: {
>>                style: google.maps.ZoomControlStyle.SMALL
>>        },
>>                streetViewControl: true,
>>                mapTypeControl: true,
>>        mapTypeControlOptions: {style:
>> google.maps.MapTypeControlStyle.DROPDOWN_MENU}
>>      });
>>
>>      infoWindow = new google.maps.InfoWindow();
>>
>>      locationSelect = document.getElementById("locationSelect");
>>          sideBar = document.getElementById("sidebar");
>>
>>
>>
>>      locationSelect.onchange = function() {
>>        var markerNum =
>> locationSelect.options[locationSelect.selectedIndex].value;
>>        if (markerNum != "none"){
>>          google.maps.event.trigger(markers[markerNum], 'click');
>>        }
>>      };
>>   }
>>
>>   function searchLocations() {
>>     var address = document.getElementById("addressInput").value;
>>     var radius = document.getElementById('radiusSelect').value;
>>         var stateSelect = document.getElementById("stateSelect");
>>         var stateSelectValue =
>> stateSelect.options[stateSelect.selectedIndex].value;
>>         var centerPoint = "("+google.loader.ClientLocation.latitude + ", "
>> +
>> google.loader.ClientLocation.longitude+")";
>>                if (address != "") {
>>                        var geocoder = new google.maps.Geocoder();
>>                        geocoder.geocode({address: address},
>> function(results, status) {
>>                                if (status == google.maps.GeocoderStatus.OK
>> && address != "") {
>>
>>  searchLocationsNear(results[0].geometry.location, radius,
>> stateSelectValue);
>>                                }
>>                        });
>>                }else if(address == "" && stateSelectValue != "none"){
>>                        searchLocationsNear(centerPoint, 5,
>> stateSelectValue);
>>                }else if(address == "" && stateSelectValue == "none"){
>>                }else{
>>                        alert('Location Not Found');
>>                }
>>   }
>>
>>   function clearLocations() {
>>     infoWindow.close();
>>     for (var i = 0; i < markers.length; i++) {
>>       markers[i].setMap(null);
>>     }
>>     markers.length = 0;
>>
>>         var div = document.createElement("div");
>>     sideBar.innerHTML = "";
>>         /*sideBar.innerHTML = "No Stores";*/
>>         sideBar.appendChild(div);

Re: [Google Maps API v3] Re: Store Locator

2011-04-14 Thread Mike Wellman
Still doesn't seem to work. Not sure what the problem could be. :/

On Tue, Apr 12, 2011 at 5:16 PM, Prophet  wrote:

> Yes that is what was I was seeing.
>
> I tried using a mysql temp table to try to help with the issue but
> that's a no go.
>
> I'm trying through the push array right now.
>
> Here is my code if either of you see anything:
>
>
> function initMenus() {
>$('ul.menu ul').hide();
>$.each($('ul.menu'), function(){
>$('#' + this.id + '.expandfirst ul:first').show();
>});
>
>$('ul.menu li a').hover(
>function() {
>var checkElement = $(this).next();
>var parent = this.parentNode.parentNode.id;
>
>if($('#' + parent).hasClass('noaccordion')) {
>$(this).next().slideToggle('normal');
>return false;
>}
>if((checkElement.is('ul')) &&
> (checkElement.is(':visible'))) {
>if($('#' + parent).hasClass('collapsible'))
> {
>$('#' + parent + '
> ul:visible').slideUp('normal');
>}
>return false;
>}
>if((checkElement.is('ul')) &&
> (!checkElement.is(':visible'))) {
>$('#' + parent + '
> ul:visible').slideUp('normal');
>checkElement.slideDown('normal');
>return false;
>}
>
>}
>
>);
>$('ul.menu ul.menushow').show();
> }
>
>
>
>google.load("maps", "3",  {callback: initialize,
> other_params:"sensor=false"});
>
>var map;
>var markers = [];
>var infoWindow;
>var locationSelect;
>var sideBar;
>
>function initialize() {
>
>initMenus();
>  map = new google.maps.Map(document.getElementById("map"), {
>center: new
> google.maps.LatLng(google.loader.ClientLocation.latitude,
> google.loader.ClientLocation.longitude),
>zoom: 5,
>mapTypeId: 'roadmap',
>panControl: true,
>scaleControl: true,
>zoomControl: true,
>zoomControlOptions: {
>style: google.maps.ZoomControlStyle.SMALL
>},
>streetViewControl: true,
>mapTypeControl: true,
>mapTypeControlOptions: {style:
> google.maps.MapTypeControlStyle.DROPDOWN_MENU}
>  });
>
>  infoWindow = new google.maps.InfoWindow();
>
>  locationSelect = document.getElementById("locationSelect");
>  sideBar = document.getElementById("sidebar");
>
>
>
>  locationSelect.onchange = function() {
>var markerNum =
> locationSelect.options[locationSelect.selectedIndex].value;
>if (markerNum != "none"){
>  google.maps.event.trigger(markers[markerNum], 'click');
>}
>  };
>   }
>
>   function searchLocations() {
> var address = document.getElementById("addressInput").value;
> var radius = document.getElementById('radiusSelect').value;
> var stateSelect = document.getElementById("stateSelect");
> var stateSelectValue =
> stateSelect.options[stateSelect.selectedIndex].value;
> var centerPoint = "("+google.loader.ClientLocation.latitude + ", "
> +
> google.loader.ClientLocation.longitude+")";
>if (address != "") {
>var geocoder = new google.maps.Geocoder();
>geocoder.geocode({address: address},
> function(results, status) {
>if (status == google.maps.GeocoderStatus.OK
> && address != "") {
>
>  searchLocationsNear(results[0].geometry.location, radius,
> stateSelectValue);
>}
>});
>}else if(address == "" && stateSelectValue != "none"){
>searchLocationsNear(centerPoint, 5,
> stateSelectValue);
>}else if(address == "" && stateSelectValue == "none"){
>}else{
>alert('Location Not Found');
>}
>   }
>
>   function clearLocations() {
> infoWindow.close();
> for (var i = 0; i < markers.length; i++) {
>   markers[i].setMap(null);
> }
> markers.length = 0;
>
> var div = document.createElement("div");
> sideBar.innerHTML = "";
> /*sideBar.innerHTML = "No Stores";*/
> sideBar.appendChild(div);
>
> locationSelect.innerHTML = "";
> var option = document.createElement("option");
> option.value = "none";
> option.innerHTML = "See all results:";
> locationSelect.appendChild(option);
>   }
>
>   function searchLocationsNear(center, radius, stateSelectValue) {
> clearLocations();
> var address = document.getElementById

[Google Maps API v3] Re: Google maps api only working in IE8

2011-04-14 Thread Rossko
> In IE 8 it works as i intended, in any other browser it doesnt show any
> results? here  is the page.

This is a v2 map.  v2 API has its own group at
   http://groups.google.com/group/Google-Maps-API

Using Firebug reveals an XML parser error
"XML Parsing Error: xml declaration not at start of external entity
\nLocation: http://www.testcentresearch.co.uk/map.html\nLine Number 2,
Column 1:\n^"
I think you have whitespace before the http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Adding Jquery UI slider custom control

2011-04-14 Thread teknocreator
Matt,

Yeah, it's not completely clear cut.  I don't know if this helps but I
got this Min value horizontal jQuery UI slider to work for setting/
getting our map's overlay opacity:

In the main javascript area:

// gets the current slider value and sets the Google Maps overlay's
opacity to it
// GMoverlay is a global ProjectedOverlay object

  function getsliderval() {
var op = $("#opslider").slider("value");
if (GMoverlay)
  GMoverlay.setOpacity(op);
$("#opacity").html(op+"%");   // This displays the opacity value
followed by the percent sign outside of the map area
  }

// slider function using jQuery UI; calls function above when the
value changes or slide is used

  $(function() {
 $( "#opslider" ).slider({
  range: "min",
  min: 0,
  max: 100,
  value: 50,
  slide: getsliderval,
  change: getsliderval
 });
 $( "#opacity" ).val( $( "#opslider").slider("value"));
  });

In the  section of the document:

  
  Opacity:  


Hope that helps.

Dave

On Apr 14, 11:33 am, en4ce  wrote:
> hey, you can upload your files to dropbox for example. about the
> jquery thing...i tryed
> something simular yesterday and it did not work, jquery seems not
> getting the events if something is a cumstom map control and embedded
> in the map it self, i will open a new topic about that in a few
> but what you can do:
> 1. dont attach the slider to the map
> 2. place it obove the map via z-index and position relative/absolute
> 3. set a function to the slider, this function should set the zoom
> level
> there are some events to determine if the map is fully loaded, search
> in the forum that for
>
> On 14 Apr., 13:54, Matt Alonso  wrote:
>
> > Sorry about that, it was in a dev staging environment and I did not
> > have a publicly accessible link I could send out.
>
> > I was able to figure out how to do this though...sort of.  I had been
> > trying to get the control to be added "automatically" as soon as
> > possible.  However, I relaxed that requirement b/c our implementation
> > will not be able to make sure of the slider until a user chooses a
> > variable and so I've just attached the slider creation into the events
> > that trigger overlays being put on the map.
>
> > For whatever it is worth, I included a couple snippets of code below.
>
> > Addition of the custom control (div):
>
> > var sliderContainer = document.createElement('DIV');
> > sliderContainer.innerHTML='';
> > controlDiv.appendChild(sliderContainer);
>
> > Code I want(ed) to be triggered automatically (Note: This code is in a
> > separate file):
>
> >         $('div#sliderContainer').html('');
> >         $(function() {
> >                 $( "div#sliderContainer" ).slider({
> >                         orientation: "vertical",
> >                         range: "min",
> >                         min: 0,
> >                         max: 100,
> >                         value: 60,
> >                         slide: function( event, ui ) {
> >                                 self.overlay.setOpacity(ui.value)
> >                         }
> >                 });
> >                 sliderSet=1;
> >         });
>
> > I guess I am also sort of curious to know how to (programmaticly)
> > determine that the map is loaded and modifications can be made to the
> > controls.
>
> > Thanks
>
> > On Apr 14, 5:11 am, en4ce  wrote:
>
> > > link?
>
>

-- 
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: customs info windows

2011-04-14 Thread Gary Little
InfoBox has a setContent method for changing the content and a
setPosition method for changing the position.

So in your click handler for a marker you can get the position of the
marker (google.maps.Marker.getPosition()), then pass the result on to
the InfoBox to reposition it at the marker clicked. At the same time,
you can change the content of the InfoBox as well -- to content that
is dependent on the marker that is clicked.

I notice you're using a closure variable (point) to set the position
of the InfoBox. Problem is, you're defining that variable in a loop, a
big no-no. Instead, set the position parameter in boxOptions to
this.getPosition()

I also notice you're creating a new InfoBox every time a marker is
clicked. You should probably creating a single master InfoBox and keep
track of it with a global variable. You can then manipulate it in the
click handler.

Gary

On Apr 14, 10:35 am, Lennart K  wrote:
> Hi, all you keen developers! Can you give me some advice, please.
> I've been trying for some time to creat customs info windows on my
> maps. Finally i managed to get a window with the help of infobox.js,
> in the google-maps-utility-library.
> Now the problem: I've got a various numbers of markers diplaying om
> the maps (recoveries of ringed birds) an the info windows contain info
> about each recovery. clicking on a marker should open the window
> connected with the marker just as default Google Maps InfoWindows do.
> What happens now is that whichever marker I click on I get the same
> information in the InfoBox all the time and the InfoBox is at the same
> position.
> So I have two questions:
> 1. Is it possible to position the InfoBox in connection with the
> markers and if so, how do I do it?
> 2. How do I get the infobox to show the info for the marker I click
> on?
> I can tell that before I added the eventlistener 'click' all infoboxes
> appeared on the map at different positions and thus covered most of
> the map.
> The maps can be found 
> athttp://www.skof.se/fbo/arkiv/Aterfynd/min_phpsqlajax_map3.php
> In order to make it display properly you may start 
> athttp://www.skof.se/fbo/arkiv/Aterfynd/fynduttag.phpand select a bird
> species from the top left dropdown-menu. 'Tornfalk'  is a good species
> to select :-)
> Thank you in advance
> Lennart K

-- 
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] Animated Custom Map controls

2011-04-14 Thread en4ce
Hi everyone,

i tried for quite some time now to animate custom map controls that
are anchored in the map it self with jquery

i tried several approaches like:

- bind the event to the element that is in the html file it self (a
div f.e.)
- bind the event to the created div before its anchored to the map
- bind the event via jquery after its anchored

but non of these methods did work, i was successful to change the
className of the element but that not enough for me

iam aware that there is a special jquery map js file but i don't want
to add extra 93kb to my pages for just one simple ".animate/fadeIn or
Out"

i thought of the method to just overlay the mapcontrols and not anchor
them but that brings several disadvantaged too

so basically my question is:

how i add jquery events to map controls that are anchored to the map
with this:
map.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(myelement);

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] customs info windows

2011-04-14 Thread Lennart K
Hi, all you keen developers! Can you give me some advice, please.
I've been trying for some time to creat customs info windows on my
maps. Finally i managed to get a window with the help of infobox.js,
in the google-maps-utility-library.
Now the problem: I've got a various numbers of markers diplaying om
the maps (recoveries of ringed birds) an the info windows contain info
about each recovery. clicking on a marker should open the window
connected with the marker just as default Google Maps InfoWindows do.
What happens now is that whichever marker I click on I get the same
information in the InfoBox all the time and the InfoBox is at the same
position.
So I have two questions:
1. Is it possible to position the InfoBox in connection with the
markers and if so, how do I do it?
2. How do I get the infobox to show the info for the marker I click
on?
I can tell that before I added the eventlistener 'click' all infoboxes
appeared on the map at different positions and thus covered most of
the map.
The maps can be found at
http://www.skof.se/fbo/arkiv/Aterfynd/min_phpsqlajax_map3.php
In order to make it display properly you may start at
http://www.skof.se/fbo/arkiv/Aterfynd/fynduttag.php and select a bird
species from the top left dropdown-menu. 'Tornfalk'  is a good species
to select :-)
Thank you in advance
Lennart K

-- 
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] Google maps api only working in IE8

2011-04-14 Thread Ben Williamson
Hello,
i'm at my wits end trying to make my google map store locator function 
properly in anything other than internet explorer 8. 
In IE 8 it works as i intended, in any other browser it doesnt show any 
results? here  is the page. Any 
help greatly appreciated!

-- 
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] Sea color

2011-04-14 Thread Ben Gannaway
Aah, minus values.  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.



Re: [Google Maps API v3] Some info about license and conditions (restricted access, data storage...)

2011-04-14 Thread Andrew Leach
On 4 April 2011 11:16, Andrew Leach  wrote:
>
> If the intention of the Terms is to enforce a payment to Google for
> something which does not affect access to the map and is not in their
> control (like database space), then the Terms should make that
> explicit. The use of the word "require" would indicate otherwise.

Sorry to drag this thread up again, but it seems Luke's comments may
have been based on the new Terms -- which weren't published on 4
April, but which he would certainly have known were in the pipeline.

The new Term 9.1.1 says "Your Maps API Implementation must be
generally accessible to users without charge and must not require a
fee-based subscription or other fee-based restricted access. This rule
applies to Your Content and any other content in your Maps API
Implementation, whether Your Content or the other content is in
existence now or is added later."

I still maintain that the purchase of database space to allow more
content to be stored doesn't fall into the "Your Content" clause here.
There is no charge to access the map, or My Content in the map
(however much there is of My Content). There is a charge to store
data; once it's stored and *becomes* My Content [that is, "added
later"] then it's freely available to anyone who accesses the map.
That's compatible with the Terms.

As an aside, albeit related, I doubt that a UK court would allow
Google to restrict my trade in My Content anyway, since (a) Term 11.1
cedes all claim to it and (b) it is possible to provide a free
generally-accessible Implementation, while reasonably protecting my
investment in my data. It is likely that, under Term 19.3, the
sentence "This rule applies..." should be struck out in the United
Kingdom.

-- 
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] Sea color

2011-04-14 Thread Barry Hunter
Seems to work for me

See
http://googlemapscolorizr.stadtwerk.org/#water/all/00

On 14 April 2011 17:02, Ben Gannaway  wrote:
> How can I make my sea black?  I can only seem to get shades of pink or blue
>
> --
> 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] Sea color

2011-04-14 Thread Ben Gannaway
How can I make my sea black?  I can only seem to get shades of pink or blue

-- 
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: Adding Jquery UI slider custom control

2011-04-14 Thread en4ce
hey, you can upload your files to dropbox for example. about the
jquery thing...i tryed
something simular yesterday and it did not work, jquery seems not
getting the events if something is a cumstom map control and embedded
in the map it self, i will open a new topic about that in a few
but what you can do:
1. dont attach the slider to the map
2. place it obove the map via z-index and position relative/absolute
3. set a function to the slider, this function should set the zoom
level
there are some events to determine if the map is fully loaded, search
in the forum that for

On 14 Apr., 13:54, Matt Alonso  wrote:
> Sorry about that, it was in a dev staging environment and I did not
> have a publicly accessible link I could send out.
>
> I was able to figure out how to do this though...sort of.  I had been
> trying to get the control to be added "automatically" as soon as
> possible.  However, I relaxed that requirement b/c our implementation
> will not be able to make sure of the slider until a user chooses a
> variable and so I've just attached the slider creation into the events
> that trigger overlays being put on the map.
>
> For whatever it is worth, I included a couple snippets of code below.
>
> Addition of the custom control (div):
>
> var sliderContainer = document.createElement('DIV');
> sliderContainer.innerHTML='';
> controlDiv.appendChild(sliderContainer);
>
> Code I want(ed) to be triggered automatically (Note: This code is in a
> separate file):
>
>         $('div#sliderContainer').html('');
>         $(function() {
>                 $( "div#sliderContainer" ).slider({
>                         orientation: "vertical",
>                         range: "min",
>                         min: 0,
>                         max: 100,
>                         value: 60,
>                         slide: function( event, ui ) {
>                                 self.overlay.setOpacity(ui.value)
>                         }
>                 });
>                 sliderSet=1;
>         });
>
> I guess I am also sort of curious to know how to (programmaticly)
> determine that the map is loaded and modifications can be made to the
> controls.
>
> Thanks
>
> On Apr 14, 5:11 am, en4ce  wrote:
>
>
>
>
>
>
>
> > link?

-- 
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: Adding Jquery UI slider custom control

2011-04-14 Thread en4ce
hey, you can upload your files to dropbow for example. i tryed
something simular yesterday and it did not work, jquery seems not
getting the event if something is a cumstom map control and imbedded
in the map it self, i will open a new topic about that in a few

but what you can do:
1. dont attach the slider to the map
2. place it obove the map via z-index and position relative/absolute
3. set a function to the slider, this function should set the zoom
level

there are some events to determine if the map is fully loaded, search
in the forum that for

On 14 Apr., 13:54, Matt Alonso  wrote:
> Sorry about that, it was in a dev staging environment and I did not
> have a publicly accessible link I could send out.
>
> I was able to figure out how to do this though...sort of.  I had been
> trying to get the control to be added "automatically" as soon as
> possible.  However, I relaxed that requirement b/c our implementation
> will not be able to make sure of the slider until a user chooses a
> variable and so I've just attached the slider creation into the events
> that trigger overlays being put on the map.
>
> For whatever it is worth, I included a couple snippets of code below.
>
> Addition of the custom control (div):
>
> var sliderContainer = document.createElement('DIV');
> sliderContainer.innerHTML='';
> controlDiv.appendChild(sliderContainer);
>
> Code I want(ed) to be triggered automatically (Note: This code is in a
> separate file):
>
>         $('div#sliderContainer').html('');
>         $(function() {
>                 $( "div#sliderContainer" ).slider({
>                         orientation: "vertical",
>                         range: "min",
>                         min: 0,
>                         max: 100,
>                         value: 60,
>                         slide: function( event, ui ) {
>                                 self.overlay.setOpacity(ui.value)
>                         }
>                 });
>                 sliderSet=1;
>         });
>
> I guess I am also sort of curious to know how to (programmaticly)
> determine that the map is loaded and modifications can be made to the
> controls.
>
> Thanks
>
> On Apr 14, 5:11 am, en4ce  wrote:
>
>
>
>
>
>
>
> > link?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: creating directions from several points

2011-04-14 Thread Jorge Flores
exactly what I needed thanks!


On Apr 13, 7:29 pm, "geocode...@gmail.com" 
wrote:
> On Apr 13, 4:53 pm, Jorge Flores  wrote:
>
> > hi, im trying to create routes using the direction service, I managed
> > to get it running having several start and end markers and a small
> > workaround where I autocomplete lines to match the start marker to the
> > last marker and so on. what I need to do is have them like fusion just
> > like in maps.google.com when you have several directions. does someone
> > have an example on how to do it? I hope its understandable.
>
> > 1 point x=22.52449114071534 y=-103.35406421711423
> > 2 point x=19.623712799783448 y=-102.48614429523923
> > 3. point x=21.608162367080908 y=-100.06915210773923
>
> > 1 to 2 and then 2 to 3 having point 2 as intersection so when I drag
> > it, it just moves point 2 and not have 2 diferent point 2 as I have it
> > at them time.
> > thanks for the help
>
> Are you talking about 
> this:http://code.google.com/apis/maps/documentation/javascript/services.ht...
>
>   -- Larry

-- 
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: Adding id to each image tile of an overlay

2011-04-14 Thread Matt Alonso
Thank you both for your replies.

@Greg, that's pretty much what I was looking for.  I had seen
something like this in some of Marcelo's examples on http://maps.forum.nu
but I wasn't sure if there was anything built directly into the api
itself to do this.  Either way though, this will work great.  Thanks
so much.

On Apr 13, 7:30 pm, Gregory Short  wrote:
> As an aside, I just noticed that the service that demo uses is currently 
> borked, but you can still see how the highlight works. In short, each tile is 
> given an ID based on its x,y,z coord, and then the mousemove handler derives 
> the matching coordinate and looks the tile up based on that derived value. No 
> cycling through the DOM tree or anything.
>
> There is one glaring issue with this method that I haven't yet figured out 
> how to fix: world wrap causes problems. That is, only the main, "default" 
> instance of the world gets highlighted. If you mouseover a duplicate tile, 
> the main one still gets highlighted. I know each tile has an appropriate id, 
> I just haven't had time to figure out how to determine "which" world the 
> mouse is currently over, since the coordinates from the mousemove event are 
> constrained to one iteration of the map. If that makes any sense, anyhow: my 
> terminology is probably all over the place.
>
> -G

-- 
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 maps api v3 open infowindow

2011-04-14 Thread tommaso
Thank you for your reply!
So what i have to do exactly for prova3 and prova5 page?


On 13 Apr, 20:03, sb  wrote:
> Hi,
>
> Looks to me like you haven't added a listener.
>
> This is from the working page.
> google.maps.event.addListener(marker, 'click', function() {
>         infowindow.setContent(contentString);
>         infowindow.open(map,marker);
>         });
>
> On Apr 13, 9:43 am, tommaso  wrote:
>
>
>
>
>
>
>
> > Hello,
> > i'm looking to resolve this issue:
> > i made this pagehttp://www.unforgettablerome.it/prova5.htmlwith3
> > marker and infowindow.
>
> > i would like that when the page load come out one infowindow that is
> > allready in the code
> > var marker = createMarker(point,' > color="#ff">Unforgettable Rome B&Bvia A.
> > Ferrara 12 00165 Roma (ITALIA)<\/div>')
>
> > i tried with another maphttp://www.unforgettablerome.it/prova3.html
> > and this is what i'm looking but if i close the infowindow i can't
> > reopen.
>
> > could you someone help to find the solution for both?
>
> > 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: Adding Jquery UI slider custom control

2011-04-14 Thread Matt Alonso
Sorry about that, it was in a dev staging environment and I did not
have a publicly accessible link I could send out.

I was able to figure out how to do this though...sort of.  I had been
trying to get the control to be added "automatically" as soon as
possible.  However, I relaxed that requirement b/c our implementation
will not be able to make sure of the slider until a user chooses a
variable and so I've just attached the slider creation into the events
that trigger overlays being put on the map.

For whatever it is worth, I included a couple snippets of code below.

Addition of the custom control (div):

var sliderContainer = document.createElement('DIV');
sliderContainer.innerHTML='';
controlDiv.appendChild(sliderContainer);


Code I want(ed) to be triggered automatically (Note: This code is in a
separate file):

$('div#sliderContainer').html('');
$(function() {
$( "div#sliderContainer" ).slider({
orientation: "vertical",
range: "min",
min: 0,
max: 100,
value: 60,
slide: function( event, ui ) {
self.overlay.setOpacity(ui.value)
}
});
sliderSet=1;
});



I guess I am also sort of curious to know how to (programmaticly)
determine that the map is loaded and modifications can be made to the
controls.

Thanks

On Apr 14, 5:11 am, en4ce  wrote:
> link?
>

-- 
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: Polygons not rendering

2011-04-14 Thread Chris Broadfoot
On Thu, Apr 14, 2011 at 7:08 PM, sgiddings  wrote:

> Shame that google pushed out this change before announcing it.
>

Yes, we do that with the nightly version. If you require predictable
behaviour, please specify v=3.2 or v=3.3, as documented (and frequently
referenced) here:
http://code.google.com/apis/maps/documentation/javascript/basics.html#Versioning


> I saw the effect at least 2 days ago !
>

We didn't push this version over two days ago.

Chris

-- 
http://twitter.com/broady

-- 
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: Polygons not rendering

2011-04-14 Thread geocode...@gmail.com
On Apr 14, 2:08 am, sgiddings  wrote:
> Thanks Andrew,
>
> Shame that google pushed out this change before announcing it.

The v3 API is under active development.  The nightly version (no
version specified) can change at any time.  There are no guarantees
that anything will stay the same.  The documented functionality
shouldn't change, but that doesn't mean it won't.  They tend to push
out changes a day or two before announcing them.

  -- Larry


> I saw the effect at least 2 days ago !
>
> Simon

-- 
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: Polygons not rendering

2011-04-14 Thread geocode...@gmail.com
On Apr 14, 1:53 am, Andrew Leach  wrote:
> On 14 April 2011 09:04, sgiddings  wrote:
>
> > I have a similar problem.
> > I use two methods to obtain a shape with a hole in it.
> > The shape is either a donut or a polygon.
> > The problem is perfectly demonstrated here -
>
> >http://www.geocodezip.com/v3_polygon_example_donut.html
>
> > As you can see, the inner circle is no longer empty.
> > The same situation occurs using two polygons (inner and outer)
>
> Polygons now use canvas. Canvas requires the lines go in different
> directions to create a doughnut. I've doctored Larry's example here:

http://www.acleach.me.uk/gmaps/v3_polygon_example_donut.html

You beat me to it:
http://www.geocodezip.com/v3_polygon_example_donut_unwind.html

(Although I like your example better, I'll need to think about how to
apply this to my other examples...)

  -- Larry


>
> Reference:http://econym.org.uk/gmap/chrome.htm#winding

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



Ang.: Re: [Google Maps API v3] How to shrink my map

2011-04-14 Thread Niklas Rosencrantz
Thank you Andrew. I understand I should rearrange what happened to the code 
at the bottom.
Regards,
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.



Re: [Google Maps API v3] How to shrink my map

2011-04-14 Thread Andrew Leach
On 14 April 2011 10:30, Niklas Rosencrantz  wrote:
> Hello
> After an update my map got very wide:
> http://www.koolbusiness.com/ai
> Can you tell how to make it more like
> www.montao.com.br/ai where for some reason where the same code is deployed
> the map displays correctly.
> Thank you,
> Niklas

It's not the same code. The layout table in the "incorrect" one
contains a lot of a code at the bottom, which stretches the table and
allows the map to be wide.

-- 
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: Polygons not rendering

2011-04-14 Thread Andrew Leach
On 14 April 2011 10:17, Andrew Leach  wrote:
>
> So: is there any way to turn off canvas rendering? And/or: does anyone
> know how to determine which way a collection of points winds? (Just to
> save me searching for an algorithm)

Found this for the second question, which may help others too:
http://www.idevgames.com/forums/thread-8814.html

-- 
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 shrink my map

2011-04-14 Thread Niklas Rosencrantz
Hello 
After an update my map got very wide:
http://www.koolbusiness.com/ai
Can you tell how to make it more like 
www.montao.com.br/ai where for some reason where the same code is deployed 
the map displays correctly.
Thank you,
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.



Re: [Google Maps API v3] Re: Polygons not rendering

2011-04-14 Thread Andrew Leach
On 14 April 2011 10:08, sgiddings  wrote:
>
> Shame that google pushed out this change before announcing it.
> I saw the effect at least 2 days ago !

I get my (irregular) polygon boundary coordinates from others. They
are generated from Mapinfo and I've no idea which way they go; I don't
think they're consistent.

So: is there any way to turn off canvas rendering? And/or: does anyone
know how to determine which way a collection of points winds? (Just to
save me searching for an algorithm)

-- 
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: Adding Jquery UI slider custom control

2011-04-14 Thread en4ce
link?

On 13 Apr., 17:54, Matt Alonso  wrote:
> So I'm pretty convinced that I am just doing something stupid but
> cannot figure out for the life of me what it is.  Basically I am
> trying to add a generic jquery UI vertical slider (http://jqueryui.com/
> demos/slider/#slider-vertical) as a google map control.  I'm able to
> create other controls - as long as I specify the innerHTML ahead of
> time - but seem to be missing something w/the slider.  I've even tried
> putting an empty div in the innerHTML and then tying the slider init
> call to the ready event of that div but to no avail.
>
> I'm obviously missing some fundamental understanding of how the API
> (flow) works.
>
> 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.



Re: [Google Maps API v3] Re: Polygons not rendering

2011-04-14 Thread sgiddings
Thanks Andrew,

Shame that google pushed out this change before announcing it.
I saw the effect at least 2 days ago !

Simon

-- 
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: Polygons not rendering

2011-04-14 Thread Andrew Leach
On 14 April 2011 09:04, sgiddings  wrote:
> I have a similar problem.
> I use two methods to obtain a shape with a hole in it.
> The shape is either a donut or a polygon.
> The problem is perfectly demonstrated here -
>
> http://www.geocodezip.com/v3_polygon_example_donut.html
>
> As you can see, the inner circle is no longer empty.
> The same situation occurs using two polygons (inner and outer)

Polygons now use canvas. Canvas requires the lines go in different
directions to create a doughnut. I've doctored Larry's example here:
http://www.acleach.me.uk/gmaps/v3_polygon_example_donut.html

Reference: http://econym.org.uk/gmap/chrome.htm#winding

-- 
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: obligatory ads in google maps

2011-04-14 Thread Thor Mitchell (Google Employee)
Just to reiterate my comments on the v2 group, we don't have an immediate 
plans to include ads in the map imagery of API applications. If we do decide 
to do so in future we will provide at least 90 days notice which will 
include information as to the type of ads and how they will look.

Note also that as a company Google has succeeded by delivering ads on other 
properties (such as search) that do not detract from the user experience, 
that are relevant, and that are useful. You can rest assured that the same 
principles will be carried over to any ads launched in the Maps API in the 
future.

Many thanks,

Thor. 

-- 
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] Programmatically moving forwards in Street View

2011-04-14 Thread Chris Broadfoot
You could figure it out based on the heading of the user's view vs their
bearing of linked panoramas.

-- 
http://twitter.com/broady

-- 
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: Polygons not rendering

2011-04-14 Thread scotiasystems
Perfect - looks like that was the problem, thanks!

I've changed strokeColor to be #99 and the circle appears again :-)

-- 
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: Polygons not rendering

2011-04-14 Thread sgiddings
I have a similar problem.
I use two methods to obtain a shape with a hole in it.
The shape is either a donut or a polygon.
The problem is perfectly demonstrated here -

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

As you can see, the inner circle is no longer empty.
The same situation occurs using two polygons (inner and outer)

On Apr 14, 6:58 am, Chris Broadfoot  wrote:
> Thanks Jason, I've narrowed that bug down and filed an issue internally.
> Specify v=3.3 for now.
>
> On Thu, Apr 14, 2011 at 12:24 PM, Jason Sanford wrote:
>
>
>
>
>
>
>
>
>
> > I've got a demo that shows using Google's geometry library to measure
> > length/area which doesn't work any more. The geometry for the polygon is
> > still good, as the area measurements I'm getting are accurate, but polygon
> > is drawn. I'm actually drawing a line and a polygon and the line stops
> > drawing after 3 vertices, but continues returning valid length measurements.
> > Dropping to v3.3 fixes the issue, but I'm leaving it up in hopes to help
> > debug the problem.
>
> >http://demos.geojason.info/google-maps-api-v3-geometry-library.php
>
> > On Wed, Apr 13, 2011 at 4:52 PM, Adam  wrote:
>
> >> *Temp fix:*
> >>http://maps.google.com/maps/api/js?*v=3.3*&sensor=true
>
> >> *Theory:*
> >> Polygons must have a border in 3.4.
>
> >> --
> >> 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.
>
> --http://twitter.com/broady

-- 
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: Limit on the number of custom icons

2011-04-14 Thread Chris Broadfoot (Google Employee)
You may have more luck if you include the image files within a KMZ
file.

-- 
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] 2011/4/14 - New Release

2011-04-14 Thread Chris Broadfoot (Google Employee)
Hi all,

We recently pushed a new version of the Maps API. The major change in this
release is Polylines and Polygons are now rendered in Canvas. This provides
a significant speedup when adding many polys to a map. One known issue is
that polygons are hidden when strokeOpacity is zero. As a workaround, set
your strokeOpacity to something non-zero (say, 1e-32).

Polyline/Polygon stroke/fill colors now need to be specified in full hex
notation (i.e. '#FF', rather than 'red' or '#F00'). This has long been
the documented way of providing a color, but previously any CSS color
worked.

We also recently made changes to our terms of service. Please read this blog
post for a summary of the changes:
http://googlegeodevelopers.blogspot.com/2011/04/updates-to-google-maps-apigoogle-earth.html

The changelog for this release is copied below. See the full changelog here:
http://code.google.com/p/gmaps-api-issues/wiki/JavascriptMapsAPIv3Changelog

---

Resolved issues:
  * Fixed regression: Marker icon and shadow no longer transparent on IE6
  * Fixed: Markers no longer flicker on zoom
  * Fixed: Rendering of polygons across tile boundaries near the north/south
poles

Noticeable changes:
  * Polylines and Polygons now rendered in Canvas where possible.
  * LatLngs for events on polylines and polygon borders now snap to the
nearest point on the line.

---

Thanks,
Chris

-- 
http://twitter.com/broady

-- 
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: Limit on the number of custom icons

2011-04-14 Thread N.Aleksandrenko
There is no limit i have seen. I have tested it with about 900+.

On Wed, Apr 13, 2011 at 11:13 PM, Rossko  wrote:

> > I can't find any documentation on a limit of or setting for the number
> > of custom icons.
>
> There are limits with KmlLayer and number of icons e.g. see this
> thread
>
> http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/14cb3d13dc4cf8bc/4ac5d250eb76454b
> These don't appear to be documented
>
> --
> 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.