The Wiki for Tale 4 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "Talk:Google Maps"

From A Tale in the Desert
Jump to navigationJump to search
(Added comment. Used striketrough on fixed points.)
Line 16: Line 16:
 
** You can only specify the used icons in the <nowiki><googlemap></nowiki> tag, not per marker. I don't know how the shadow is produced. ([[User:Hatnofret|Hatnofret]] 20:33, 22 December 2008 (EST))
 
** You can only specify the used icons in the <nowiki><googlemap></nowiki> tag, not per marker. I don't know how the shadow is produced. ([[User:Hatnofret|Hatnofret]] 20:33, 22 December 2008 (EST))
 
*** Well I tried that and it resizes the custom marker to the size of the pin (the DOM inspector shows that the size is simply set in the image's style attribute). Also considering the shadow image (which URL is totally unrelated to the marker {http://maps.google.com/intl/en_us/mapfiles/shadow50.png} are independant of these icon options, I think there's something more to this. [[User:ArmEagle|ArmEagle]] 16:38, 23 December 2008 (EST)
 
*** Well I tried that and it resizes the custom marker to the size of the pin (the DOM inspector shows that the size is simply set in the image's style attribute). Also considering the shadow image (which URL is totally unrelated to the marker {http://maps.google.com/intl/en_us/mapfiles/shadow50.png} are independant of these icon options, I think there's something more to this. [[User:ArmEagle|ArmEagle]] 16:38, 23 December 2008 (EST)
 +
 +
* Wed 13:45 <@FA|inandout|car> incidentally, tell Hatnofret to look at the source of page http://www.atitd.org/wiki/tale4/index.php?title=Special:OpenIDLogin - that has a way to incorporate the wiki setup variables into javascript
 +
* Wed 13:45 <@FA|inandout|car> he could probably use that to de-hardcode his googlemaps plugin

Revision as of 14:47, 24 December 2008

  • sooo.. if I understand this, we just need to somehow map the Egypt coordinate system to the google maps lat/long system and we're good to go Gwyr
    • Thats done. You can place markers at coordinates. For unknown reason it doesn't work for the polygons. (Hatnofret 00:43, 18 December 2008 (EST))
  • This is so awsome! Thank you Thank you Thank you Hatnofret! Sad about the areas & paths not working but I'll take what I can get =) amisibastet 00:28, 20 December 2008 (EST)
    • The problem seems to be a bug on the google side of things. Its already reported and I've added my voice to the people who want it fixed. However, Google doesn't tell us when it will get addressed (Hatnofret 20:33, 22 December 2008 (EST))
    • You might want to add your star to defect 715 to tell Google how much you care about it.
  • Apparently it seems that the egyptmap images use a relative path. If someone uses the googlemaps on /Guilds/GUILDNAME, it does show just fine in the preview, but once you save the page there are no map images (all just gray / no data available). The Only difference seems to be the extra sub'directory'. ArmEagle 18:40, 20 December 2008 (EST)
    • Just sniffed my network to see what images it tried to pull. And they're indeed going a dir too deep: /wiki/tale4/Guilds/egypt-tiles/...
    • Issue shown by Vulpine when trying to get it work on http://www.atitd.org/wiki/tale4/Guilds/HHOF
    • Yes, the tile URL was relative. Ooops. Fixed. (Hatnofret 20:33, 22 December 2008 (EST))
  • I tried setting my own icons and icon path, but it seems kinda stuck on the sizes of the pinballoons. Also the default shadow is shown. Does one have to set something specific about custom icons? ArmEagle 18:40, 20 December 2008 (EST)
    • You can only specify the used icons in the <googlemap> tag, not per marker. I don't know how the shadow is produced. (Hatnofret 20:33, 22 December 2008 (EST))
      • Well I tried that and it resizes the custom marker to the size of the pin (the DOM inspector shows that the size is simply set in the image's style attribute). Also considering the shadow image (which URL is totally unrelated to the marker {http://maps.google.com/intl/en_us/mapfiles/shadow50.png} are independant of these icon options, I think there's something more to this. ArmEagle 16:38, 23 December 2008 (EST)