| 1 | = !MapGuide RFC 120 - Add new command MapTip to enable/disable the map tooltip in web layout = |
| 2 | |
| 3 | This page contains an change request (RFC) for the !MapGuide Open Source project. |
| 4 | More !MapGuide RFCs can be found on the [wiki:MapGuideRfcs RFCs] page. |
| 5 | |
| 6 | |
| 7 | == Status == |
| 8 | |
| 9 | ||RFC Template Version||(1.0)|| |
| 10 | ||Submission Date||July 29, 2011|| |
| 11 | ||Last Modified||Buddy Hu [[Timestamp]]|| |
| 12 | ||Author||Buddy Hu|| |
| 13 | ||RFC Status||('''draft''', proposed, frozen for vote, adopted, retracted, or rejected)|| |
| 14 | ||Implementation Status||('''pending''', under development, completed)|| |
| 15 | ||Proposed Milestone||2.4|| |
| 16 | ||Assigned PSC guide(s)||Bruce Dechant|| |
| 17 | ||'''Voting History'''||July 29, 2011|| |
| 18 | ||+1|| || |
| 19 | ||+0|| || |
| 20 | ||-0|| || |
| 21 | ||-1|| || |
| 22 | |
| 23 | == Overview == |
| 24 | |
| 25 | The proposal is to add a new command "MapTip" in web layout to enable/disable the map tooltips. |
| 26 | |
| 27 | == Motivation == |
| 28 | |
| 29 | Currently in MapGuide, the client sends "QueryMapFeatures" request to get the tooltips of features under the mouse as it hovers over the map. However, most of the requests are unnecessary and useless for the end-user. For example, when the user are doing measure/pan/zoom, the tooltips are redundant for the user. If we remove these unnecessary requests, we can reduce MapGuide Server's overload. The new command "MapTip" provides an opportunity for the user to disable the map tooltips, to reduce the "QueryMapFeatures" requests. And the user still can enable the tooltips again with this command. |
| 30 | |
| 31 | |
| 32 | == Proposed Solution == |
| 33 | |
| 34 | We need to add an new BasicCommandActionType enumeration named "MapTip" in the weblayout schema to support "MapTip" action. |
| 35 | {{{ |
| 36 | <xs:simpleType name="BasicCommandActionType"> |
| 37 | <xs:restriction base="xs:string"> |
| 38 | <xs:enumeration value="MapTip"/> |
| 39 | </xs:restriction> |
| 40 | </xs:simpleType> |
| 41 | }}} |
| 42 | |
| 43 | |
| 44 | == Implications == |
| 45 | |
| 46 | Maestro is supposed to be updated to add this command to weblayout by default. |
| 47 | |
| 48 | == Test Plan == |
| 49 | |
| 50 | Run on Linux/Windows. |
| 51 | |
| 52 | == Funding/Resources == |
| 53 | |
| 54 | Supplied byAutodesk. |