I'm trying to use a variation on Enigma's World Skin to also show the city-in-question's location on the map.
What I've done & Givens
1) I've changed the weather-xml from yahoo.com's to weather.com's (personal preference)
2) The Sections [MeasureLon] and [MeasureLat] return the correct Longitude and Latitude coordinates
- these are substrings 11 and 10 respectively
3) I have created two CALC sections to convert the Longitude and Latitude to the corresponding pixel that point should be at on the map. These are titled [ConvertLon] and [ConvertLat] respectively.
4) These two sections do in fact give the appropriate x,y coordinates on the map that I'm using which I've tested using this:
Code: Select all
[TestConversions]
Meter=STRING
MeasureName=ConvertLon
MeasureName2=ConvertLat
Text="%1, %2"
FontColor=255,255,255,255
The problem that I'm having is then being able to use those sections as X,Y coordinates in another section. Something like this:
Code: Select all
[CityLocation]
Meter=IMAGE
X=ConvertLon
Y=ConvertLat
H=1
W=1
SolidColor=255,0,0,255