Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fitomad/applecoding-mapkitjs
Sitio web que acompaña al artículo de Apple Coding sobre MapKit JS
https://github.com/fitomad/applecoding-mapkitjs
apple css3 html5 javascript mapkit mapkit-js
Last synced: 13 days ago
JSON representation
Sitio web que acompaña al artículo de Apple Coding sobre MapKit JS
- Host: GitHub
- URL: https://github.com/fitomad/applecoding-mapkitjs
- Owner: fitomad
- License: mit
- Created: 2018-06-21T22:37:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-22T07:29:24.000Z (over 6 years ago)
- Last Synced: 2024-12-06T21:43:36.511Z (2 months ago)
- Topics: apple, css3, html5, javascript, mapkit, mapkit-js
- Language: JavaScript
- Size: 6.07 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AppleCoding-MapKitJS
Sitio web que acompaña al artículo de Apple Coding sobre MapKit JS. **También podeís ver la web ya desplegada en [este enlace](http://apple-mapkitjs.desappstre.com/)**
![Webshot](https://github.com/fitomad/AppleCoding-MapKitJS/blob/master/Webshots/portada.png)
## Configuración
Antes de arrancar el website es necesario generar un token JWT para MapKit JS. Una vez lo tengamos debemos pegarlo en el archivo `webapp.js`, concretamente en la línea 10, como parámetro de la función `done`
```javascript
mapkit.init({ authorizationCallback: function(done) {
// Pasamos como parámetro el token JWT que hemos generado previamente
done("TOKEN-AQUÍ");
}
});
```## Generar el Token JWT
En [este repositorio de GitHub](https://github.com/fitomad/mapkitjs-jwt-token-generator) encontrarás un script Python que generar un token a partir del archivo de claves (.p8) y del *Key ID*.
## Contacto
Cualquier duda o pregunta me la podéis hacer en mi cuenta de twitter [@fitomad](https://twitter.com/fitomad)