You are here: Home → Forum Home → Fieldtypes → MX Google Map → Thread
Bump, bump…. anyone out there?
WOW! Still no answer for this? I just installed and I have been struggling to get it to work. Some guidance would be nice. Almost 3 weeks and no answer. That’s no good.
When I entered the following into the pattern field it was reduced to 50 characters after I clicked on “update”
yes, this is bug with Mysql field length. I will release new version in 2 days.
The info window image is not coming through as a transparent image,
this is part of Google Map- my scripts is not effected on bubbles images. Look like you browser don’t support transparent pictures.
I assumed that they were tied into the “slide bar” fields that you can open up when you fill in the map field, but since you are calling {city} in the info window I don’t understand why it isn’t showing up.
Well, I can’t understand by picture too. You need post your template code. Custom map fields works fine - I check it with other MX Google Map user on at least 20 websites at this moment.
DVLPR Where do you have problem?
Thanks for the reply.
I installed and followed the screencast (it was a bit fast and I had to rewind and slo-mo about 20 times). I am also using the Google Map with Markers List & InfoWindow example code. From the example I created a global variable from the js and embedded it in the <HEAD></HEAD> tags respectively. I also used the bit of code you provided for displaying the output. I am sure there is something I am doing wrong so I apologise in advance for being a novice on the matter.
http://otpbeta.ehclients.com/locations/test
I see in the js two things and I was wondering if there is something there that I need to modify?
markers: [{exp:channel:entries channel=“markers” dynamic=“off” backspace=“1”}
and
{your_custom_field_name}
{marker_id : {point_id},
latitude: {latitude},
longitude: {longitude},
draggable: false,
icon: “{icon}”,
//infowindows template:
infow:“Lat: {latitude}<br> Long: {longitude}
City: {city}”
},
{/your_custom_field_name}
In addition, this code provides the holder for the output I am guessing?
<div ><div id=“my_full_map” 100%; height: 100%”></div></div>
<div id=“side_bar”></div>
Please explain the side_bar div?
Also, I don’t see the entry retaining the location on the map. I think I just need some help please.
Thanks for any assistance and again, please forgive my learning curve here. I put my template code in a text file and attached if you need to see my full code. **js is in a global variable**
Looks like adding an attachment fails. Let me know if you need to see my template code.
do you use your {your_custom_field_name} and channel for template code?
I am not sure what you mean. I tried to send a txt file with my template code and it failed. I am going by your sample code exclusively. If there is another code I should be using then I suppose the answer is no.
in example you have tag {your_custom_field_name} which need to replace with you custom filed which was setup like MX Google Map, and you also must indicate the correct channel {exp:channel:entries channel=“markers” dynamic=“off” backspace=“1”}
What is the channel=“markers”? I suppose I was not sure what to modify since your code was no bolded in the areas where the modifications were to be made. I will rework it.
I need to modify the sections where modifications are required. I am not sure I know every place where the modifications need to take place. I will take a blind stab and ask more questions as I go.
I appreciate your patience. This is very new for me. Many many thanks.
It is hard to use this and get any help. It is disappointing. We are deleting it and going with what we know will work, since we cannot get any assistance.
In examples you just need to replace channel (its your channel where you use MX Google Map) and field name. That’s all. If you replaced it right, don’t have any JS errors, but map don’t displayed – you can send message to me (better with link to your page).
Hello Thomas,
Are you sure that u use MX Google Maps? “gmap” is not MX Google Map tag. MX Google Maps examples
In examples you just need to replace channel (its your channel where you use MX Google Map) and field name. That’s all. If you replaced it right, don’t have any JS errors, but map don’t displayed – you can send message to me (better with link to your page).
What example code does this use? I need to do exactly this. Display the map and then the list under with all the custom fields.