This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
web-mapa [2017/05/26 09:07] mapix |
web-mapa [2018/01/07 15:18] (current) |
||
|---|---|---|---|
| Line 12: | Line 12: | ||
| | | ||
| <script> | <script> | ||
| - | var publisherId = "FDF6B24F-0AD7-405C-BEC1-71A008E1A7FD"; | + | var publisherId = <ID vydavatele>; |
| | | ||
| var kmlUrl = "http://muj.mapix.cz/API/GetPackagesKml?publisherId=" + publisherId; | var kmlUrl = "http://muj.mapix.cz/API/GetPackagesKml?publisherId=" + publisherId; | ||
| Line 42: | Line 42: | ||
| | | ||
| </script> | </script> | ||
| - | <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAbN46QVVGTX9jdDsOYMaBB5k4uSYH8Pew&callback=initialize" type="text/javascript"></script> | + | <script async defer src="https://maps.googleapis.com/maps/api/js?key=<Google API key>&callback=initialize" type="text/javascript"></script> |
| </body> | </body> | ||
| </code> | </code> | ||
| - | V kódu je nutno vyplnit <ID požadovaného průvodce> identifikátorem průvodce, který chcete zobrazit, a <API key ke GoogleMaps> za klíč pro Google mapy pro váš web (viz [[https://developers.google.com/maps/documentation/javascript/get-api-key]]). | + | V kódu je nutno nahradit <ID vydavatele> identifikátorem vašeho účtu, který najdete po přihlášení do administračního rozhraní Mapixu na záložce "Správa účtu", a <Google API key> klíčem pro Google mapy pro váš web (viz [[https://developers.google.com/maps/documentation/javascript/get-api-key]]). |