2014-08-14, 21:21
Maps
Current Version: 0.1.0
Last Update: 2014-08-15
This add-on is still under development. Some of the final features are not yet implemented.
By utilizing multiple maps and locations providers, this addon will allow you to explore the World map and find points of interest. The providers can be categorized as: Map Providers, Geocoding Providers, Places Providers, Panorama Providers, or any combination of the four. It currently has Google (Map/Geocoding/Panorama), Bing (Map/Geocoding), HERE (Map), MapQuest (Map), and Foursquare (Places). You can select any combination of map/geocoding/places providers to be used together. For example: you can select Google as the map and geocoding provider, but use Foursquare as the places provider (the default). Alternatively, you could select Bing as the map provider, Google as the geocoding and panorama provider, and Foursquare as the places provider.
More importantly, anyone can add a new provider, and the add-on will dynamically detect the provider and allow the user to use it without any need for updating the add-on itself. The providers are simple python classes having predefined set of methods, each placed in its own file inside the providers directory (/resources/provider). The provider classes can even specify the configuration required for them (such as API keys and secrets), and the add-on will update the add-on settings dialog dynamically to let the user specify them from there. The current provider class standard is not finalized, and it might change in the future if needed.
Please note that many providers requires you to have API keys to use their associated services. You can acquire your credentials from their developers websites for free, and then type them in the add-on settings dialog under "Credentials". There are paid plans for each service, but I don't think anyone will need one, especially with a Map software on an HTPC. Currently Google allows you to use their service without a key, but the usage limit will be based on IP (which is mostly shared), and will allow a limited number of requests. By using a key, the number of allowed requests will increase, and it will not be tied to your IP. Most other providers don't work without a valid API key (or a pair of keys).
How to Install
How to Use
You can use the remote, keyboard, gamepad (limited).
Pan: Up, Right, Down, Left buttons.
Zoom: Page Up, Page Down, Channel Up, Channel Down buttons.
Map Type Toggle: Info button.
Controls Toggle (Search/Home/Places): Context Menu button.
Heading (Panorama): Right, Left buttons
Pitch (Panorama): Up, Down buttons
Move (Panorama): Page Up, Page Down, Channel Up, Channel Down buttons (Not currently supported by Google Street View Image API).
Exit Controls/Panorama: Return/Exit buttons
Exit: Return/Exit buttons.
Note: the controls are still not finalised, and might be adjusted in the future. Suggestions are welcomed.
How to Create a New Provider
If you are interested, then you probably already know enough python. In this case, please review the add-on directory (script.maps/resources/provider) for a list of the current providers and how are they implemented. Each class must have a static method providerInfo, which will return the name and the required settings (id/label pairs). Also, based on the type of provider, you need to implement the minimum required methods.
Map Provider: you must implement the methods type, size, pan, zoom, and url.
Gecoding Provider: you must implement the method geocode.
Places Provider: you must implement the method places.
Panorama Provider: you must implement the methods look and move.
Mixed Provider: you must implement all the methods required by each type in the same class.
After creating a class that satisfy the above, save it to the same directory. Then, open the add-on to dynamically load it and update the add-on settings. After that, go to the add-on settings dialog and you will find your provider in the list, and its settings in the Credentials tab.
Note: keep in mind the provider class standard is still not finalised.
FAQs
Any frequently answered questions will be placed here.
Change Log
Version: 0.1.0 Date: 2014-08-15
Added support for a new type of providers: Panorama Provider.
Added panoramic view support to the Google provider (Google Street View).
Added a new "Panorama" mode to provide panoramic views in certain places. [suggested by schumi2004]
Version: 0.0.1 Date: 2014-08-14
Initial beta.
TL;DR
An add-on for maps with support for searching for locations (geocoding), POI (places), and panoramic views (street view). It can be extended by anyone interested without changing the add-on itself. Use common sense for controls, and context menu button to toggle the controls overlay.
Download
Current Version 0.1.0: bit.ly/VqDDVR
Old Version 0.0.1: bit.ly/XkUtr3
Suggestions and bug reports are welcomed
Current Version: 0.1.0
Last Update: 2014-08-15
This add-on is still under development. Some of the final features are not yet implemented.
By utilizing multiple maps and locations providers, this addon will allow you to explore the World map and find points of interest. The providers can be categorized as: Map Providers, Geocoding Providers, Places Providers, Panorama Providers, or any combination of the four. It currently has Google (Map/Geocoding/Panorama), Bing (Map/Geocoding), HERE (Map), MapQuest (Map), and Foursquare (Places). You can select any combination of map/geocoding/places providers to be used together. For example: you can select Google as the map and geocoding provider, but use Foursquare as the places provider (the default). Alternatively, you could select Bing as the map provider, Google as the geocoding and panorama provider, and Foursquare as the places provider.
More importantly, anyone can add a new provider, and the add-on will dynamically detect the provider and allow the user to use it without any need for updating the add-on itself. The providers are simple python classes having predefined set of methods, each placed in its own file inside the providers directory (/resources/provider). The provider classes can even specify the configuration required for them (such as API keys and secrets), and the add-on will update the add-on settings dialog dynamically to let the user specify them from there. The current provider class standard is not finalized, and it might change in the future if needed.
Please note that many providers requires you to have API keys to use their associated services. You can acquire your credentials from their developers websites for free, and then type them in the add-on settings dialog under "Credentials". There are paid plans for each service, but I don't think anyone will need one, especially with a Map software on an HTPC. Currently Google allows you to use their service without a key, but the usage limit will be based on IP (which is mostly shared), and will allow a limited number of requests. By using a key, the number of allowed requests will increase, and it will not be tied to your IP. Most other providers don't work without a valid API key (or a pair of keys).
How to Install
- Download the add-on from below, and place it in a directory accessible by XBMC.
- In XBMC, go to System > Add-ons > Install from zip file, and browse through and select the downloaded add-on.
- Run it from the programs add-ons, and enjoy!
How to Use
You can use the remote, keyboard, gamepad (limited).
Pan: Up, Right, Down, Left buttons.
Zoom: Page Up, Page Down, Channel Up, Channel Down buttons.
Map Type Toggle: Info button.
Controls Toggle (Search/Home/Places): Context Menu button.
Heading (Panorama): Right, Left buttons
Pitch (Panorama): Up, Down buttons
Move (Panorama): Page Up, Page Down, Channel Up, Channel Down buttons (Not currently supported by Google Street View Image API).
Exit Controls/Panorama: Return/Exit buttons
Exit: Return/Exit buttons.
Note: the controls are still not finalised, and might be adjusted in the future. Suggestions are welcomed.
How to Create a New Provider
If you are interested, then you probably already know enough python. In this case, please review the add-on directory (script.maps/resources/provider) for a list of the current providers and how are they implemented. Each class must have a static method providerInfo, which will return the name and the required settings (id/label pairs). Also, based on the type of provider, you need to implement the minimum required methods.
Map Provider: you must implement the methods type, size, pan, zoom, and url.
Gecoding Provider: you must implement the method geocode.
Places Provider: you must implement the method places.
Panorama Provider: you must implement the methods look and move.
Mixed Provider: you must implement all the methods required by each type in the same class.
After creating a class that satisfy the above, save it to the same directory. Then, open the add-on to dynamically load it and update the add-on settings. After that, go to the add-on settings dialog and you will find your provider in the list, and its settings in the Credentials tab.
Note: keep in mind the provider class standard is still not finalised.
FAQs
Any frequently answered questions will be placed here.
Change Log
Version: 0.1.0 Date: 2014-08-15
Added support for a new type of providers: Panorama Provider.
Added panoramic view support to the Google provider (Google Street View).
Added a new "Panorama" mode to provide panoramic views in certain places. [suggested by schumi2004]
Version: 0.0.1 Date: 2014-08-14
Initial beta.
TL;DR
An add-on for maps with support for searching for locations (geocoding), POI (places), and panoramic views (street view). It can be extended by anyone interested without changing the add-on itself. Use common sense for controls, and context menu button to toggle the controls overlay.
Download
Current Version 0.1.0: bit.ly/VqDDVR
Old Version 0.0.1: bit.ly/XkUtr3
Suggestions and bug reports are welcomed