brilliantplugins / geometa-acf Goto Github PK
View Code? Open in Web Editor NEWA GeoMeta custom field type for ACF
License: GNU General Public License v2.0
A GeoMeta custom field type for ACF
License: GNU General Public License v2.0
TODO: Disable map wrapping so that coordinates are always inbounds.
Figured out what the deal is and it is an issue with how the ACF plugin stores a drawn object if you dont use the centered version of the map and only affects longitude. If you use the wrapped part of the map you will go outside the bounds of the sphere and it will be 360 degrees added to the actual longitude. I am not sure if this is an issue with the geometa library or the ACF map part of the plugin. Any comments would be appreciated.
See: https://wordpress.org/support/topic/geo-table-does-not-match-post-meta-table/
I haven't thoroughly tested this in different browsers, but in chrome, the height of the map is only 300px, and coming from leaflet's css. The height in your geomaeta-acf.css isn't getting picked up, and the bottom 1.5 buttons are cut off. I added an !important to line 2 and it resolved the problem.
.acfgeometa_map {
height: 400px !important;
width: 100%;
}
It would be great if this plugin can be installed using composer.
This would also solve issues with dependencies (currently managed as git submodules),
notably the wp-geometa-lib
dependency.
Scenario:
ACF Field group. Vertical tabs. geometa-acf field in second or subsequent tab. When my field is in the first tab it's not a problem.
Problem:
Basemap is aligned at top left of page. Though it's glitchy. A slight resize of the browser window fixes the issue.
Checked:
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.