On Mar 19, 9:47 am, Raymundo <raymondcoe...@gmail.com> wrote:
> Continuing with improving my map.
> I started a new discussion on help with my icons, "resize icons" but
> really had no clear response.

I thought Mike's response was pretty clear:
http://groups.google.com/group/Google-Maps-API/browse_frm/thread/12f2507d7d8d74a8#

Change your kml so it doesn't use <StyleMap>


> I am reposting here to maybe get help. Thanks in advance
>
> Attempting to resize icons, please help me to see what I am missing in
> my script?
>
> I have an custom icon on my web or would even use
> icon that is part of my 
> kml...http://maps.google.com/mapfiles/kml/shapes/ferry.png
>
> I believe ferry.png is overwritten by the EGeXml.
>
> http://freightbywaterdatabase.org/map.html
> thanks in advance
>
> .....................................................
> var exml;
> var map;
> var icon;
>
>           function load() {
>           if (GBrowserIsCompatible()) {
>           map = new GMap2(document.getElementById("map"));
>           map.setMapType(G_HYBRID_MAP);
>           map.setCenter(new GLatLng(54, -4), 6);
>           map.addControl(new GLargeMapControl());
>           map.addControl(new GMapTypeControl());
>           map.enableScrollWheelZoom();
>           map.enableGoogleBar();
>
> //        var kml = new GGeoXml("http://freightbywaterdatabase.org/
> unitedkingdom.xml");
> //        map.addOverlay(kml)
>
> //        GLog.write("in load, creating EGeoXml");
> //        === create the base icon ===
>
>     var icon = new GIcon();
>     icon.shadow = "http://freightbywaterdatabase.org/portsicon.png";;
>     icon.iconSize = new GSize(12, 20);
>     icon.shadowSize = new GSize(22, 20);
>     icon.iconAnchor = new GPoint(6, 20);
>     icon.infoWindowAnchor = new GPoint(5, 1)
>
>     exml = new EGeoXml("exml", map, "unitedkingdom.xml",
> {icontype:"style",   sidebarid:"the_side_bar",sortbyname:true,iwwidth:
> 300,directions:true,baseicon:icon});
>     exml.parse();
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to