Name of module: google_earth
See partners information on google map(name, code, address,...) with icon on map
And Turnover of country by partners, country appears in light red color => low turnover and with dark red color => high turnover.
Delivery routes from Warehouse location to Customer location by cities with 10 different colors (by number of delivery to that city from warehouse).
It can create network link kml file for dynamic updates of data on google earth.
It can directly open google map in your browser with different information.
It generates KML file so you can save it on your computer and upload it on google map/ google earth.
You can find 5 wizards on Partners/ Google Map/Earth.
If you want to use google_earth module you have to know about what is kml file and how to use it on google/map.
KML is a file format used to display geographic data in an Earth browser such as Google Earth, Google Maps, and Google Maps for mobile. KML uses a tag-based structure with nested elements and attributes and is based on the XML standard. All tags are case-sensitive and must be appear exactly as they are listed in the KML Reference. The Reference indicates which tags are optional. Within a given element, tags must appear in the order shown in the Reference.
For more information:
Now How to upload kml file on Google Map:
Step1: go to create map link
Step3: upload kml
Differnce between Google Map and Google Earth:
Google Maps is available through the window of your browser, Google Earth is a downloadable application which can be installed on your computer in order to view the satellite imagery straight from your desktop. However, the super giant Google updates the two products every once in a while so they have almost the same functions
After uploading KML files to google map look below:
KML for Partner-Country
This is the screen shot which shows the partner's country, turnover of partners reside in that country. Here we can see country wise partners and country wise turnover. By clicking on selected country we can get Number of partners, Number of invoices made and Turnover of the country.
High Turnover => Dark red & Low Turnover => Light red
KML for Delivery Route
This is the screen shot for finding the delievery routes from warehouse location to customer location. Here we can see there are different routes in different colours. By clicking on particular route we get the information about Customer Location, Warehouse Location, Number of Products sent and Number of delieveries made.
KML for Partners
This is the screen shot showing all partners from different countries. This will make a point on particular partner address on map. By clicking on any point we can get the information about the partner, e.g. Name of partner, Code, Type(customer/supplier), Address, Turnover of Partner, Number of customer invoice, Number of supplier invoice, Total receivable, etc...
Wizard for KML for Network link
Network link kml:
A special kind of kml file which has networklink tag inside it which contains link of your kml file.
This wizard will create network link in kml for different objects and save it to your computer and then you have to upload network link kml to google earth/map. It can update data periodically by looking networklink kml files parameters(refreshtime,interval....).For e.g if you have inserted new partner then google earth can able to fetch that new partner from webservice of etiny.
If you ticked partner and country, wizard will create two link tag with url/path of two kml file.now whenever you will upload this kml file it will show both partner and country information on earth and update that information by given interval time (using url/path ).
The wizard of network link shown above:
First, path shows a url (HTTP address) means your web-client path with port number where your etiny services running.
RefreshMode specifies a time-based refresh mode, which can be one of the following:
onChange - refresh when the file is loaded and whenever the Link parameters change (default).
onInterval - refresh every n seconds (specified in <refreshInterval>).
onExpire - refresh the file when the expiration time is reached.
RefreshInterval indicates to refresh the file every n seconds.
ViewRefreshMode specifies how the link is refreshed when the "camera" changes.
never(default) - Ignore changes in the view. Also ignore <viewFormat> parameters, if any.
onStop - Refresh the file n seconds after movement stops, where n is specified in <viewRefreshTime>.
onRequest - Refresh the file only when the user explicitly requests it. (For example, in Google Earth, the user right-clicks and selects Refresh in the Context menu.)
onRegion - Refresh the file when the Region becomes active.
View Refresh Time specifies the number of seconds to wait before refreshing the view, after camera movement stops.
Wizard for Open Google Map
This wizard will directly open google map in browser.
For e.g. If you want to open that map for partner-country, then it will directly open google map for partner with coutries in browser.
In above figure, You can see Path field. In that, http://maps.google.com/maps?q=, will be common and later is shown your web-client path with port. Another field is Map For which is selection for Partner, Partner-Country and Delivery-Route. Whatever option you select from Map For field, it will directly open map for that option and with that url(Path).
Url looks like http://maps.google.com/maps?q=http://yourserver.com:port/kml?model=res.partner when you open the browser.