problème avec google Map

More
5 years 1 month ago #75889 by Teamherve
Bonjour,
Depuis des mois j'ai un problème avec google Map

La carte google n'apparait pas - emplacement carte grise


besoin-aides.fr/garde-enfant/item/254-va...ng-montpellier-34070

Je n'arrive pas à résoudre

Cela est spécifique à une catégorie /garde-enfant

FONCTIONNEMENT
1 - création FLEXIcontent Google-Map module : google-droite-garde

API for render Map
Choose your API googleMap
Sélection catégorie categorie specifique
Méthode inclure
Catégorie garde-enfant
Catégories supplémentaires aucun
Champ adresse Positionnement geographique


2 - Creation champ fcloadmodule
- Load Module / Module position

3- Positionnement du champs dans template

Je fais la meme chose pour d'autres categorie (ménage, cours...)
Aucun problème

Mais sur la catégorie garde enfant
j'ai ce problème

J'ai fais plusieurs test en refaisant le module etc.... KO
J'ai tester en utilisation dans ce module une autres catégorie : OK

Pourquoi ce problème spécifique sur cette catégorie

Hervé

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #75893 by ggppdk
Replied by ggppdk on topic problème avec google Map
Hello

i have seen this before

i think we change something about this in 3.3.0

github.com/FLEXIcontent/flexicontent-cck/releases


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
More
5 years 1 month ago #75896 by ggppdk
Replied by ggppdk on topic problème avec google Map
Hello

i have checked the HTML source and i see that some addresses do not have coordinates:

e.g. this does not
Angelique, Tours

Code:
// Define your locations: HTML content for the info window, latitude, longitude var locations = [ ['<h4 class="fleximaptitle">Angelique, Tours</h4> <p class=\"link\"><a href=\"/garde-enfant/profils-garde-enfant-baby-sitter/item/79\" target=\"\">Lire la suite</a></p> <div class="directions"><a href="http://maps.google.com/maps?q=%2C" target="_blank" class="direction">Itinéraire</a></div>',,] ,['<h4 class="fleximaptitle">Camille, Toulouse</h4><p>Toulouse, France</p> <p class=\"link\"><a href=\"/garde-enfant/profils-garde-enfant-baby-sitter/item/213\" target=\"\">Lire la suite</a></p> <div class="directions"><a href="https://maps.google.com/?q=Toulouse,+France&ftid=0x12aebb6fec7552ff:0x406f69c2f411030" target="_blank" class="direction">Itinéraire</a></div>',43.604652,1.444209] ...

So i am thinking with have a bug, our code are code to skip address that do not have coordinates is not always working
Code:
if ( !isset($coord['lat']) || !isset($coord['lon']) ) continue; // skip empty value

i have made a fix, you can use install via URL to update
github.com/FLEXIcontent/flexicontent-cck/archive/3.3.1.x.zip


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #75902 by Teamherve
Replied by Teamherve on topic problème avec google Map
Hello,

And Thank you

The problem is solved.

The absence of a geographical position
I think I have a problem with the "position" field.
Some registered, fill the city directly with the city, but not at the right place.

I will look at this in detail to make it easier to enter.



Thank you very Much
Hervé

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #75903 by ggppdk
Replied by ggppdk on topic problème avec google Map
Hello

in field configuration you can do this

1. you can make coordinates to be required properties so that form will not submit

2. Also add a description message to the field (and configure it to be shown inline
something like:

Please enter city / area to the search box to automatically fill in coordinates without typing



-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.285 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline