GoogleMaps intégré au site : Attention article technique !
- OzOns
- Membre
- Messages : 3152
- Inscription : 19 mars 2006, 11:14
- Localisation : Venise, Italie
- Contact :
GoogleMaps intégré au site : Attention article technique !
GoogleMaps est intégré au site, exemple :
http://association-first30.org/Nouvelle ... reton
Toutes les fonctionnalités de GoogleMaps sont reprises (zoom, déplacement avec clic sur la main pour faire glisser le fond de carte, superposition du plan sur l'image, ou plan seul etc...)
Vous pouvez intégrer cette fonctionnalité dans vos fiches bateau, articles etc.
Il suffit d'insérer cette balise dans votre texte :
{mosmap | address='camarinas,spain'|width='500'|height='600'| zoom='6'|zoomType='Large'|zoomNew='0'|mapType='Satellite'|showMaptype='1'|
overview='0'|text='Le vendredi 25 janvier à CAMARINAS'|tooltip='Alize Tinlo'|marker='1'|
align='center'}
L'exemple ci dessus est celui de la localisation d'Alizé Tinlo à camarinas
Il y a lieu de replacer camarinas,spain par conleau (au hasard...)
et 'Le vendredi 25 janvier à CAMARINAS' par 'Un nid à First 30' etc, etc...
La syntaxe complète est (pour (ma?) mémoire) :
How to use the plugin in content
You can put the {mosmap} with parameters anywhere in content in Joomla: intro text or main text. You can see examples and documentation on my demo site: http://tech.reumer.net
Check the html of the content item so there are no <br> or between { } or in the html a return.
The plugin works for one line! It can be once, twice or more to display multiple, inline maps on a single content page for different locations and configurations.
Usage: {mosmap width='500'|height='400'|lat='52.052312'|lon='4.447141'|
zoom='3'|zoomType='Large'|zoomNew='0'|mapType='Satellite'|showMaptype='1'|
overview='0'|text='sv DWO'|tooltip='DWO'|marker='1'|
align='center'}
(remove the returns between the line or <br> so its one line
You can change any of the parameters:
width, height to whatever you want although if its too small, you won't see very much.
You must put the units behind the number like 100% or 400px
lon, lat for the coordinates or address to search for the coordinates (should consist of street number, zipcode town, country)
zoom can be anything as specified in the Google Maps API.
zoomType, can be Small or Large, this controls the type of zoom function displayed or None so there is no zoomcontrol.
zoomNew, can be 1 for continues zoom and doubleclick and zoom or 0 for click to center (default 0)
zoomWheel, can be 1 for mousewheel zoom and 0 for no mousewheel zoom (default 0)
mapType can be Normal (default), Satellite, Hybrid or Terrain.
showMaptype is 0 for no Maptype controls and 1 shows Maptype controls (default 1)
Overview is 0 for no overview window in bottom right corner and 1 shows the overview and 2 for overview enabled but close initially (default 0)
text is for the marker, that will show on the map with a balloon. If you don't want to see the text, just set text=" and it will not display, the text is the data displayed above the location pin. Usually it would be used to display an address or hyperlink. A hyperlink is possible use the format: <a>linkName</a>. Don't use (double) quotes!
marker is for opening the infowindow (1 default) or close the infowindow (0) initially.
dir for adding get directions form for a route at maps.google.com to the coordinates.
tooltip is for the marker to have a tooltip when the mouse is on the marker (don't use HTML)
icon is the url to a icon for the marker so it can be different then default of Google
address is for a address to search for the coordinates (lon/lat has to be empty)
gotoaddr is for a searchfield and button so the user can search a address on the map (default 0)
kml is for a url to a kmlfile to load as a overlay on the map for multiple markers or a route
align is for placement of the map in the content (left, right or center)
lang is for the language of the maps.
key (not recommended) is for the google map api key. You can set the key in the mosmap tag (optional) or Multiple urls and keys at the parameters by the plugin in the administrator of Joomla. You can register for a Google Maps Key here.
lightbox is for placing a link/button to show a lightbox of the map (default 0)
Notez le support des fichiers kml qui circulent pas mal sur le Net.
http://association-first30.org/Nouvelle ... reton
Toutes les fonctionnalités de GoogleMaps sont reprises (zoom, déplacement avec clic sur la main pour faire glisser le fond de carte, superposition du plan sur l'image, ou plan seul etc...)
Vous pouvez intégrer cette fonctionnalité dans vos fiches bateau, articles etc.
Il suffit d'insérer cette balise dans votre texte :
{mosmap | address='camarinas,spain'|width='500'|height='600'| zoom='6'|zoomType='Large'|zoomNew='0'|mapType='Satellite'|showMaptype='1'|
overview='0'|text='Le vendredi 25 janvier à CAMARINAS'|tooltip='Alize Tinlo'|marker='1'|
align='center'}
L'exemple ci dessus est celui de la localisation d'Alizé Tinlo à camarinas
Il y a lieu de replacer camarinas,spain par conleau (au hasard...)
et 'Le vendredi 25 janvier à CAMARINAS' par 'Un nid à First 30' etc, etc...
La syntaxe complète est (pour (ma?) mémoire) :
How to use the plugin in content
You can put the {mosmap} with parameters anywhere in content in Joomla: intro text or main text. You can see examples and documentation on my demo site: http://tech.reumer.net
Check the html of the content item so there are no <br> or between { } or in the html a return.
The plugin works for one line! It can be once, twice or more to display multiple, inline maps on a single content page for different locations and configurations.
Usage: {mosmap width='500'|height='400'|lat='52.052312'|lon='4.447141'|
zoom='3'|zoomType='Large'|zoomNew='0'|mapType='Satellite'|showMaptype='1'|
overview='0'|text='sv DWO'|tooltip='DWO'|marker='1'|
align='center'}
(remove the returns between the line or <br> so its one line
You can change any of the parameters:
width, height to whatever you want although if its too small, you won't see very much.
You must put the units behind the number like 100% or 400px
lon, lat for the coordinates or address to search for the coordinates (should consist of street number, zipcode town, country)
zoom can be anything as specified in the Google Maps API.
zoomType, can be Small or Large, this controls the type of zoom function displayed or None so there is no zoomcontrol.
zoomNew, can be 1 for continues zoom and doubleclick and zoom or 0 for click to center (default 0)
zoomWheel, can be 1 for mousewheel zoom and 0 for no mousewheel zoom (default 0)
mapType can be Normal (default), Satellite, Hybrid or Terrain.
showMaptype is 0 for no Maptype controls and 1 shows Maptype controls (default 1)
Overview is 0 for no overview window in bottom right corner and 1 shows the overview and 2 for overview enabled but close initially (default 0)
text is for the marker, that will show on the map with a balloon. If you don't want to see the text, just set text=" and it will not display, the text is the data displayed above the location pin. Usually it would be used to display an address or hyperlink. A hyperlink is possible use the format: <a>linkName</a>. Don't use (double) quotes!
marker is for opening the infowindow (1 default) or close the infowindow (0) initially.
dir for adding get directions form for a route at maps.google.com to the coordinates.
tooltip is for the marker to have a tooltip when the mouse is on the marker (don't use HTML)
icon is the url to a icon for the marker so it can be different then default of Google
address is for a address to search for the coordinates (lon/lat has to be empty)
gotoaddr is for a searchfield and button so the user can search a address on the map (default 0)
kml is for a url to a kmlfile to load as a overlay on the map for multiple markers or a route
align is for placement of the map in the content (left, right or center)
lang is for the language of the maps.
key (not recommended) is for the google map api key. You can set the key in the mosmap tag (optional) or Multiple urls and keys at the parameters by the plugin in the administrator of Joomla. You can register for a Google Maps Key here.
lightbox is for placing a link/button to show a lightbox of the map (default 0)
Notez le support des fichiers kml qui circulent pas mal sur le Net.
Philippe - OzOns
Venise - DVV
[Forum] Comment modifier mon avatar
[Forum] Comment modifier mon profil
[Forum] Comment retrouver mon identifiant
[Forum] Comment retrouver mon mot de passe
[Forum] Question fréquentes
[All] Comment utiliser l'adresse "NomDeMonBateau"@first30.fr
[All] Conditions de location de la balise SPOT
Venise - DVV
[Forum] Comment modifier mon avatar
[Forum] Comment modifier mon profil
[Forum] Comment retrouver mon identifiant
[Forum] Comment retrouver mon mot de passe
[Forum] Question fréquentes
[All] Comment utiliser l'adresse "NomDeMonBateau"@first30.fr
[All] Conditions de location de la balise SPOT
- OzOns
- Membre
- Messages : 3152
- Inscription : 19 mars 2006, 11:14
- Localisation : Venise, Italie
- Contact :
Tu as un autre exemple de mise en place sur ma fiche bateau.
La pointe du marqueur est précisément à mon emplacement
La pointe du marqueur est précisément à mon emplacement
Philippe - OzOns
Venise - DVV
[Forum] Comment modifier mon avatar
[Forum] Comment modifier mon profil
[Forum] Comment retrouver mon identifiant
[Forum] Comment retrouver mon mot de passe
[Forum] Question fréquentes
[All] Comment utiliser l'adresse "NomDeMonBateau"@first30.fr
[All] Conditions de location de la balise SPOT
Venise - DVV
[Forum] Comment modifier mon avatar
[Forum] Comment modifier mon profil
[Forum] Comment retrouver mon identifiant
[Forum] Comment retrouver mon mot de passe
[Forum] Question fréquentes
[All] Comment utiliser l'adresse "NomDeMonBateau"@first30.fr
[All] Conditions de location de la balise SPOT
- OzOns
- Membre
- Messages : 3152
- Inscription : 19 mars 2006, 11:14
- Localisation : Venise, Italie
- Contact :
Toi te méfier du coté obscur ....
Ecoute la Force qui est en toi.
Et toi regarder et copier/coller l'exemple dans ma fiche et dans la dernière news de Tinlo.
Coller dans un article 'brouillon' où il n'y a rien d'autre dedans. De mémoire il doit rester un article 'Essai' dans 'histoires' qui m'a servi à mettre au point (il n'est pas publié).
Je raconte tout cela (discours qui doit paraitre bien 'abscons' au néophyte) pour Alain et Manu également, qui voudront peut être en profiter
Ecoute la Force qui est en toi.
Et toi regarder et copier/coller l'exemple dans ma fiche et dans la dernière news de Tinlo.
Coller dans un article 'brouillon' où il n'y a rien d'autre dedans. De mémoire il doit rester un article 'Essai' dans 'histoires' qui m'a servi à mettre au point (il n'est pas publié).
Je raconte tout cela (discours qui doit paraitre bien 'abscons' au néophyte) pour Alain et Manu également, qui voudront peut être en profiter
Philippe - OzOns
Venise - DVV
[Forum] Comment modifier mon avatar
[Forum] Comment modifier mon profil
[Forum] Comment retrouver mon identifiant
[Forum] Comment retrouver mon mot de passe
[Forum] Question fréquentes
[All] Comment utiliser l'adresse "NomDeMonBateau"@first30.fr
[All] Conditions de location de la balise SPOT
Venise - DVV
[Forum] Comment modifier mon avatar
[Forum] Comment modifier mon profil
[Forum] Comment retrouver mon identifiant
[Forum] Comment retrouver mon mot de passe
[Forum] Question fréquentes
[All] Comment utiliser l'adresse "NomDeMonBateau"@first30.fr
[All] Conditions de location de la balise SPOT
- TREMANINIS
- Membre
- Messages : 592
- Inscription : 21 avr. 2005, 10:12
- Localisation : Alain / 29 Locquirec - 85390 Mouilleron
- OzOns
- Membre
- Messages : 3152
- Inscription : 19 mars 2006, 11:14
- Localisation : Venise, Italie
- Contact :
Pas grave, erreur dans la règle des 12ième.
Je te vois au ponton maintenant.
Agites la main pour voir ?
Je te vois au ponton maintenant.
Agites la main pour voir ?
Philippe - OzOns
Venise - DVV
[Forum] Comment modifier mon avatar
[Forum] Comment modifier mon profil
[Forum] Comment retrouver mon identifiant
[Forum] Comment retrouver mon mot de passe
[Forum] Question fréquentes
[All] Comment utiliser l'adresse "NomDeMonBateau"@first30.fr
[All] Conditions de location de la balise SPOT
Venise - DVV
[Forum] Comment modifier mon avatar
[Forum] Comment modifier mon profil
[Forum] Comment retrouver mon identifiant
[Forum] Comment retrouver mon mot de passe
[Forum] Question fréquentes
[All] Comment utiliser l'adresse "NomDeMonBateau"@first30.fr
[All] Conditions de location de la balise SPOT
- Ratafia
- Administrateur
- Messages : 2851
- Inscription : 22 avr. 2005, 07:56
- Localisation : Voilier Geronimo Toulon
- Contact :
Auto-satisfaction
=}6 Chef, chef, j'ai réusssi !
=}27 , Mais j'ai rien compris !
=}20 et, Ratafia est dans un forêt de conifères
=}4 Mais je suis quand même vachement fier de moi
http://association-first30.org/OffShore ... tafia
=}27 , Mais j'ai rien compris !
=}20 et, Ratafia est dans un forêt de conifères
=}4 Mais je suis quand même vachement fier de moi
http://association-first30.org/OffShore ... tafia
- TREMANINIS
- Membre
- Messages : 592
- Inscription : 21 avr. 2005, 10:12
- Localisation : Alain / 29 Locquirec - 85390 Mouilleron
- OzOns
- Membre
- Messages : 3152
- Inscription : 19 mars 2006, 11:14
- Localisation : Venise, Italie
- Contact :
Tu as vachement raison d'être fier Manu,
Ta vue Google est superbe !
Un tuyau, puisque je vois que vous êtes pas mal à accrocher.
Allez sur googlemaps standard avec votre navigateur. Positionnez précisément le centre de la carte :
Comme ci :
Puis cliquez sur Obtenir l'Url
Et enfin faites un copier coller de cette URL dans le BlocNote par exemple :
Récupérez Latitude et longitude pour pouvoir les insérer dans lat= et lon=.
Je me suis permis de modifier la fiche du bateau de notre Président selon cette méthode (mais sinon tout était parfait, je me suis juste servi de la latitude et de la longitude exprimées et degré)
Attention Alain il faut progresser par petites touches et être très rigoureux dans la syntaxe.
Un dernier conseil il vaut mieux avoir la version n-1 sous le coude pour pouvoir revenir en arrière facilement.
Bon amusement !
Ta vue Google est superbe !
Un tuyau, puisque je vois que vous êtes pas mal à accrocher.
Allez sur googlemaps standard avec votre navigateur. Positionnez précisément le centre de la carte :
Comme ci :
Puis cliquez sur Obtenir l'Url
Et enfin faites un copier coller de cette URL dans le BlocNote par exemple :
Récupérez Latitude et longitude pour pouvoir les insérer dans lat= et lon=.
Je me suis permis de modifier la fiche du bateau de notre Président selon cette méthode (mais sinon tout était parfait, je me suis juste servi de la latitude et de la longitude exprimées et degré)
Attention Alain il faut progresser par petites touches et être très rigoureux dans la syntaxe.
Un dernier conseil il vaut mieux avoir la version n-1 sous le coude pour pouvoir revenir en arrière facilement.
Bon amusement !
Philippe - OzOns
Venise - DVV
[Forum] Comment modifier mon avatar
[Forum] Comment modifier mon profil
[Forum] Comment retrouver mon identifiant
[Forum] Comment retrouver mon mot de passe
[Forum] Question fréquentes
[All] Comment utiliser l'adresse "NomDeMonBateau"@first30.fr
[All] Conditions de location de la balise SPOT
Venise - DVV
[Forum] Comment modifier mon avatar
[Forum] Comment modifier mon profil
[Forum] Comment retrouver mon identifiant
[Forum] Comment retrouver mon mot de passe
[Forum] Question fréquentes
[All] Comment utiliser l'adresse "NomDeMonBateau"@first30.fr
[All] Conditions de location de la balise SPOT
- TREMANINIS
- Membre
- Messages : 592
- Inscription : 21 avr. 2005, 10:12
- Localisation : Alain / 29 Locquirec - 85390 Mouilleron
- OzOns
- Membre
- Messages : 3152
- Inscription : 19 mars 2006, 11:14
- Localisation : Venise, Italie
- Contact :
Ah ouais, je te te vois !
C'est toi qui manœuvre pour sortir de ta place ?
C'est toi qui manœuvre pour sortir de ta place ?
Philippe - OzOns
Venise - DVV
[Forum] Comment modifier mon avatar
[Forum] Comment modifier mon profil
[Forum] Comment retrouver mon identifiant
[Forum] Comment retrouver mon mot de passe
[Forum] Question fréquentes
[All] Comment utiliser l'adresse "NomDeMonBateau"@first30.fr
[All] Conditions de location de la balise SPOT
Venise - DVV
[Forum] Comment modifier mon avatar
[Forum] Comment modifier mon profil
[Forum] Comment retrouver mon identifiant
[Forum] Comment retrouver mon mot de passe
[Forum] Question fréquentes
[All] Comment utiliser l'adresse "NomDeMonBateau"@first30.fr
[All] Conditions de location de la balise SPOT
- TREMANINIS
- Membre
- Messages : 592
- Inscription : 21 avr. 2005, 10:12
- Localisation : Alain / 29 Locquirec - 85390 Mouilleron
- OzOns
- Membre
- Messages : 3152
- Inscription : 19 mars 2006, 11:14
- Localisation : Venise, Italie
- Contact :
Philippe - OzOns
Venise - DVV
[Forum] Comment modifier mon avatar
[Forum] Comment modifier mon profil
[Forum] Comment retrouver mon identifiant
[Forum] Comment retrouver mon mot de passe
[Forum] Question fréquentes
[All] Comment utiliser l'adresse "NomDeMonBateau"@first30.fr
[All] Conditions de location de la balise SPOT
Venise - DVV
[Forum] Comment modifier mon avatar
[Forum] Comment modifier mon profil
[Forum] Comment retrouver mon identifiant
[Forum] Comment retrouver mon mot de passe
[Forum] Question fréquentes
[All] Comment utiliser l'adresse "NomDeMonBateau"@first30.fr
[All] Conditions de location de la balise SPOT
- Gwalarn II
- Messages : 238
- Inscription : 03 juin 2005, 19:11