msaz87 wrote:
> Moved page to https://www.radarrover.com/service/maponly_test.php for
> testing purposes... but still no luck on anything... here's the
> section of code where overlays are defined:
>
I get a 404 on the above url...
Not sure what layman terms are... but ESRI kml styles are just plain wrong
they reference an image in a local location that is undefined in
anything but
their own application and they call it root: it could very well stop icons
from displaying and if it doesnt its just a case of dumb luck ( or special
case coding which replaces a root referenced image with a default)
> echo "function initialize() {\n";
>
> echo " if (GBrowserIsCompatible()) {\n";
> echo " var geocoder = new GClientGeocoder();\n";
> echo " var map = new
> GMap2(document.getElementById('map_canvas'));
> \n";
> echo " map.addControl(new GSmallMapControl());\n";
> echo " map.addControl(new GMapTypeControl());\n";
> if ( !isset($_GET['p_pos']) ) {
> echo " var gx = new
> GGeoXml('http://www.radarrover.com/service/kml/
> scottsdale.kml');";
> echo " map.addOverlay(gx);";
> echo " var gx = new
> GGeoXml('http://www.radarrover.com/service/kml/
> tempe.kml');";
> echo " map.addOverlay(gx);";
> echo " var gx = new
> GGeoXml('http://www.radarrover.com/service/kml/
> chandler.kml');";
> echo " map.addOverlay(gx);";
> echo " var gx = new
> GGeoXml('http://www.radarrover.com/service/kml/
> mesa.kml');";
> echo " map.addOverlay(gx);";
> echo " var gx = new
> GGeoXml('http://www.radarrover.com/service/kml/
> peoria.kml');";
> echo " map.addOverlay(gx);";
> echo " var gx = new
> GGeoXml('http://www.radarrover.com/service/kml/
> phoenix.kml');";
> echo " map.addOverlay(gx);";
> echo " var gx = new
> GGeoXml('http://www.radarrover.com/service/kml/
> tucson.kml');";
> echo " map.addOverlay(gx);";
> echo " var gx = new
> GGeoXml('http://www.radarrover.com/service/kml/
> dps.kml');";
> echo " map.addOverlay(gx);";
>
> }
>
> On Nov 26, 11:49 am, msaz87 <[EMAIL PROTECTED]> wrote:
>
>> Sorry, I meant the small zoom in the left corner and the map options
>> in the right. I knew the KML files didn't always validate... but they
>> always worked regardless. So it was an issue I kind of disregarded
>> considering it didn't seem to actually be a problem.
>>
>> I was kind of lost by what you were saying with ESRI, can you kind of
>> put it in more laymen terms?
>>
>> Thanks for your help
>>
>> On Nov 26, 3:53 am, Lance Dyas <[EMAIL PROTECTED]> wrote:
>>
>>
>>> msaz87wrote:
>>>
>>>> Hey all,
>>>>
>>>> My google map has suddenly decided not to load the external KML files
>>>> that it previously had no problem doing, as well as showing the zoom
>>>> bar or the map options in the top right corner.
>>>>
>>> what zoom bar in top right there is no normal top right elements in a
>>> google map except the
>>> map type controller... or did you mean left> The map still shows locations
>>> being loaded from a database (red
>>>
>>>> markers), but the KML locations (should be blue markers) are nowhere
>>>> to be seen.
>>>>
>>> took a quick look athttps://www.radarrover.com/service/kml/scottsdale.kml
>>> the icons referred to in the above KML are styled in a way which will
>>> never work
>>> more ESRI doing its own thing (they really dont play nice with others ..
>>> those
>>> crazy government sponsored monopolists) ie the base root: is meaningless
>>> on the web and in any app other than the one you made the kml with.
>>>
> >
> .
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---