1. sebbe
  2. Support
  3. Sunday, March 08 2015, 08:05 PM
I want to edit the zoom level on GoogleMaps, bit also the height and width of the street view buttons on the left top. In my template the buttons on the top left are almost not visible.

Can you give me the file where i can find the code?
admin Accepted Answer
Admin
Hi,

File of Gmap field is /administrator/components/com_jsn/helpers/fields/gmap.php

also you can set width and height via CSS
  1. more than a month ago
  2. Support
  3. # 1
sebbe Accepted Answer
Pro
Thanks!
I changed some things, but only the zoom is not working. I add this online 135.

mapOptions: {
zoom: 5,
scrollwheel:true
},

The scrollwheel is working but the zoom level not. I changed the zoomlevel in the geocomplete js file, but even then it's not working....
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Hi,
to change zoom on profile page add this in file /administrator/components/com_jsn/helpers/fields/gmap.php at line 135
, maxZoom:5


so from
location: init_location
to
location: init_location, maxZoom:5
  1. more than a month ago
  2. Support
  3. # 3
sebbe Accepted Answer
Pro
Thank for the reply. The maxZoom: 5 is working, but i change it to 14, it's not working.


mapOptions: {
zoom: 14,
scrollwheel:true
},
location: init_location, maxZoom:14
  1. more than a month ago
  2. Support
  3. # 4
admin Accepted Answer
Admin
Hi,
for me works, try to remove zoom from mapOptions
  1. more than a month ago
  2. Support
  3. # 5
sebbe Accepted Answer
Pro
I deplublished the tabs plugin and now it works
  1. more than a month ago
  2. Support
  3. # 6
  • 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.