google maps - Geoxml-V3 icon request path repeated in request -


im trying migrate form geoxml geoxml-v3 , google maps v2 v3. issue i'm having geoxml-v3. icon request generated on client geoxml-v3 garbeled. example

localhost/app/resources/icon.png 

will become like

localhost/app/resources/app/resources/app/resources/app/resources/icon.png 

these kml files work geoxml , correctly formed. style icon segment

<style id="off-red">  <iconstyle>   <icon>    <href>resources/icon.png</href>   </icon>  </iconstyle> </style> 

i figured out problem geoxml-v3 library, @ least in circumstance want store own marker icons. there code, line 386

if (typeof this.url == "string")  

which prefixes icon url current context or else last used context. didn't much. commenting out if block lead correct request.

this hack works requirements.


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

Delphi interface implements -

css - invalid property value for padding -