| 1 | = !MapGuide RFC 72 - Commercial Map Service Support = |
| 2 | This page contains an change request (RFC) for the !MapGuide Open Source project. |
| 3 | More !MapGuide RFCs can be found on the [wiki:MapGuideRfcs RFCs] page. |
| 4 | |
| 5 | == Status == |
| 6 | |
| 7 | ||RFC Template Version||(1.0)|| |
| 8 | ||Submission Date||(Date/Time submitted)|| |
| 9 | ||Last Modified|| Arthur Liu [[Timestamp]]|| |
| 10 | ||Author||Arthur Liu|| |
| 11 | ||RFC Status||draft|| |
| 12 | ||Implementation Status||under development|| |
| 13 | ||Proposed Milestone||2.2|| |
| 14 | ||Assigned PSC guide(s)||Tom Fukushima|| |
| 15 | ||'''Voting History'''||(vote date)|| |
| 16 | ||+1|| || |
| 17 | ||+0|| || |
| 18 | ||-0|| || |
| 19 | ||-1|| || |
| 20 | ||no vote|| || |
| 21 | |
| 22 | == Overview == |
| 23 | |
| 24 | Commercial tiled map layers can be used as base layers within MapGuide flexible layouts. Users can use MapGuide overlays with commercial map service layers(Google maps, Yahoo maps and Virtual Earth). |
| 25 | |
| 26 | == Motivation == |
| 27 | |
| 28 | Fusion provide a solution to integrate the commercial map services into standard template: [[BR]] |
| 29 | |
| 30 | 1. Add some script tags to index.html manually. These scripts indicate commercial mapping api providers and unique api keys supplied by these providers.[[BR]] |
| 31 | |
| 32 | 2. Modify the application definition to include the commercial map service layers. [[BR]] |
| 33 | |
| 34 | |
| 35 | MapGuide templates should have the capability to support the commercial map services too, and we also need to provide a more convenient approach to add scripts. |
| 36 | |
| 37 | == Proposed Solution == |
| 38 | |
| 39 | 1. Save the commercial mapping api providers and keys as extension in application definition.[[BR]] |
| 40 | |
| 41 | 2. MapGuide templates load the extension information from the application definition , and add the script tags into index.html on demand. [[BR]] |
| 42 | |
| 43 | So users just need to provide an application definition with extension, then they will obtain the commercial mapping services. |
| 44 | |
| 45 | == Implications == |
| 46 | |
| 47 | Just add a script tag into index.html of MapGuide templates, which used for loading extension information from application definition. [[BR]] |
| 48 | For those application definitions which do not have extenstion information, there's no additional burden. |
| 49 | |
| 50 | == Test Plan == |
| 51 | |
| 52 | Test 5 MapGuide templates(aqua, limegold, maroon, slate and turquoiseyellow) to verify if they could support the commercial map services. |
| 53 | |
| 54 | == Funding/Resources == |
| 55 | |
| 56 | Supplied by Autodesk. |