diff options
author | Roxie Linden <roxie@lindenlab.com> | 2010-05-04 10:37:32 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2010-05-04 10:37:32 -0700 |
commit | 2a2930d24559c4d33470099807ade5f29d460210 (patch) | |
tree | a087cdd0c3b18f5cec8381a0f0cc9ffc5a66e25a /indra/newview/app_settings/settings.xml | |
parent | 268a7dbad8e277519a0e10da2cceee25994410b0 (diff) |
DEV-45807 - worldmap doesn't work against non maingrid servers
The code used to retrieve the tiles for the world map was hardcoded
to retrieve the map tiles via s3. However, non-maingrid servers
do not necessarily publish their map tiles to s3.
The URL was in the form http://map.secondlife.com.s3.amazonaws.com/map-<level>-<x>-<y>-objects.jpg
This change removes the hard coding and places the default s3 URL in the settings.xml file via MapServerURL.
Login retrieves the specific grids URL via a map-server-url option. The url is still expected to
contain jpegs named like map-<level>-<x>-<y>-objects.jpg
CR: Karina Linden
Diffstat (limited to 'indra/newview/app_settings/settings.xml')
-rw-r--r-- | indra/newview/app_settings/settings.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 75ace99806..02530485de 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -4470,6 +4470,17 @@ <key>Value</key> <real>128.0</real> </map> + <key>MapServerURL</key> + <map> + <key>Comment</key> + <string>World map URL template for locating map tiles</string> + <key>Persist</key> + <integer>0</integer> + <key>Type</key> + <string>String</string> + <key>Value</key> + <string>http://map.secondlife.com.s3.amazonaws.com/</string> + </map> <key>MapShowEvents</key> <map> <key>Comment</key> |