Needs review
Project:
Leaflet Widget for Geofield
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2015 at 22:30 UTC
Updated:
8 May 2019 at 10:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
andyanderso commentedThanks for this tip. It worked well for me.
Comment #2
andyanderso commentedAfter looking at the code, I went ahead and created a patch that adds a setting for users to specific the input map height. See screen shot. Give it a try and see if it works. The patch was made against the 7.x-2.x branch. For full disclosure it is my first real patch submission...
Comment #3
andyanderso commentedComment #4
suffering drupal commentedhahaha...
For full disclosure, this is the first time I have been able to give a tip that worked for someone ;)
Didn't give your patch a try yet, too taken by other problems for the moment.
Comment #5
haggins commentedThx @#2452805-2: Set height for content create or edit for the initial patch.
2 things were missing:
- applying the settings to the widget view
- updating all existing field instances to provide the default value
Also, I set the default value to 300px as it was hardcoded originally. So nothing changes as long as you don't adjust the settings.
Comment #6
haggins commentedComment #7
haggins commentedComment #8
fonant commentedPatch #5 works nicely for me, with the current 7.x-2.x-dev of leaflet_widget.