1. djay
  2. General
  3. Friday, April 25 2014, 05:47 PM
Hi

This is all about Google map field

Suppose I type and select “Venice Italy”;)
And then go to edit profile and without changing anything, I click submit button the Venice Italy
changes automatically to some address as -- “Strada della Rosina, 30142 Venice, Italy”

I think and expect that it should not change, I don’t know it is a bug or problem with Google map

Also in edit profile the map does not loads correctly (plz see the image). I have checked it on different templates.

please check

Thanks
Dhananjay
Attachments (1)
admin Accepted Answer
Admin
Hi, this is not a bug, Google Maps field must set a latitude and longitude, this is linked to address.
In future we will search different solution to choose country or city.
  1. more than a month ago
  2. General
  3. # 1
djay Accepted Answer
Ok, thanks for your reply

I want to change the placeholder message “Enter a location” of gmap field
Can you please tell me from where I can change it?
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
sorry for late reply, it's weekend for us.

the placeholder is generator by the google maps api.

if you want customize,
you can add this code in file /administrator/components/com_jsn/helpers/fields/gmap.php at line 71
hint="your_message"


at the end will be from:
name="'.$item->alias.'"
type="gmap"
id="'.$item->alias.'"
description="'.htmlspecialchars(($item->description)).'"
filter="string"
label="'.($hideTitleInProfile ? '' : htmlspecialchars($item->title)).'"
size="30"
required="'.($item->required ? 'true' : 'false' ).'"


to:

name="'.$item->alias.'"
type="gmap"
id="'.$item->alias.'"
description="'.htmlspecialchars(($item->description)).'"
filter="string"
label="'.($hideTitleInProfile ? '' : htmlspecialchars($item->title)).'"
size="30"
required="'.($item->required ? 'true' : 'false' ).'"
hint="your_message"
  1. more than a month ago
  2. General
  3. # 3
djay Accepted Answer
Thanks for your reply
  1. more than a month ago
  2. General
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.