rutger1140 / kirby-geolocation-field Goto Github PK
View Code? Open in Web Editor NEWGeolocation panel field for Kirby 2
License: GNU General Public License v3.0
Geolocation panel field for Kirby 2
License: GNU General Public License v3.0
When using the Geolocation field within tabs in a structure field modal box (see structure tabs plugin), if the location field is in any tab but the first one, the gmap loads but isn't showing up in the wrapper. After resizing the browser window, the gmap shows up.
Any way to get the latitude or longitude individually?
Would be a great way, if one could do $page->location()->lat()
My blueprint looks like this:
fields:
title:
label: Title
type: text
location:
label: Location
type: geolocation
...and in the Panel I see this:
As you can see, I've followed the installation and setup instructions, but the map is still not showing in the Panel. Also, default button and placeholder texts show up in Dutch - is that how it's supposed to be?
In geolocation.js you refer to the location field as locationField: $("#form-field-location")
But i think it should be locationField: $("#form-field-coordinates")
Hello,
the plugin does not work anymore. I think it is because of the updates from 22. June (https://developers.google.com/maps/pricing-and-plans/standard-plan-2016-update). Tried to put my key in the google maps script in the loadGmap function but it does not seem to work.
Any suggestions?
Thx for the great plugin, worked perfectly...
The geolocation field allows us to capture a geolocation on the backend. That is great, but it's just the first part of the equation. What is needed now if for us to be able to use this geolocation to output a map on the frontend. Ideally, it would be great to be able to do something like this this on a template...:
<?php echo $page->location()->toMap();?>
...and have it automatically output a GoogleMap iFrame, or alternatively a map created using Leaflet, which would be even better (as it's open source, and does not require an API key)!
I need to have 2 location fields in the same template. Is there a workaround for this? - tried Googling and checking in the Kirby forum, but have not come across anything...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.