Changes between Version 21 and Version 22 of MapGuideRfc119
- Timestamp:
- 07/19/11 19:45:29 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc119
v21 v22 40 40 2. URL override setting. The URL defined in vector layer definition 2.3.0 is a string FDO exprerssion. This can be very flexible but also raises a problem. Consider a scenario that the URL element has been assigned the following FDO expression 41 41 {{{ 42 Concat(' http://map.google.com/fid=', FeatId)42 Concat('map.google.com/fid=', FeatId) 43 43 }}} 44 where '!FeatId' property is the property to identify a unique feature of the feature class. So the URL of a feature in this layer should be in the form ' http://map.google.com/fid=[FeatId]' where [FeatId] part will be replaced with the actual '!FeatId' property value for each feature. However if user wants to change the URL of a specific feature(and only this one) which turns to be 'http://map.bing.com/fid=[FeatId]' for some reason. It is obvious that we can not change URL element value that will affect all other features. So what we can do is to specify a property of the feature class that the layer is based on where we can store this overriden value.44 where '!FeatId' property is the property to identify a unique feature of the feature class. So the URL of a feature in this layer should be in the form 'map.google.com/fid=[FeatId]' where [FeatId] part will be replaced with the actual '!FeatId' property value for each feature. However if user wants to change the URL of a specific feature(and only this one) which turns to be 'map.bing.com/fid=[FeatId]' for some reason. It is obvious that we can not change URL element value that will affect all other features. So what we can do is to specify a property of the feature class that the layer is based on where we can store this overriden value. 45 45 46 46 == Proposed Solution ==