= !MapGuide RFC 72 - Commercial Map Service Support = This page contains an change request (RFC) for the !MapGuide Open Source project. More !MapGuide RFCs can be found on the [wiki:MapGuideRfcs RFCs] page. == Status == ||RFC Template Version||(1.0)|| ||Submission Date||(Date/Time submitted)|| ||Last Modified|| Arthur Liu [[Timestamp]]|| ||Author||Arthur Liu|| ||RFC Status||draft|| ||Implementation Status||under development|| ||Proposed Milestone||2.2|| ||Assigned PSC guide(s)||Tom Fukushima|| ||'''Voting History'''||(vote date)|| ||+1|| || ||+0|| || ||-0|| || ||-1|| || ||no vote|| || == Overview == 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). == Motivation == Fusion provide a solution to integrate the commercial map services into standard template: [[BR]] 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]] 2. Modify the application definition to include the commercial map service layers. [[BR]] 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. == Proposed Solution == 1. Save the commercial mapping api providers and keys as extension in application definition.[[BR]] 2. MapGuide templates load the extension information from the application definition , and add the script tags into index.html on demand. [[BR]] So users just need to provide an application definition with extension, then they will obtain the commercial mapping services. == Implications == Just add a script tag into index.html of MapGuide templates, which used for loading extension information from application definition. [[BR]] For those application definitions which do not have extenstion information, there's no additional burden. == Test Plan == Test 5 MapGuide templates(aqua, limegold, maroon, slate and turquoiseyellow) to verify if they could support the commercial map services. == Funding/Resources == Supplied by Autodesk.