kito / osm-categories Goto Github PK
View Code? Open in Web Editor NEWOpenStreetMap plugin to embed a map with markers to articles from different categories on different layers.
OpenStreetMap plugin to embed a map with markers to articles from different categories on different layers.
Will OSM categories work with custom Content types or only the default blog type?
Hi,
I included OSM-Categories into Wordpress an want to add some layers ( Categories)
e.g. Layer Restaurant how can I add these?
Where can I find a list of the categories?
I have tryied to find it in the readme and doc...but nothing there?
Thanx for Help!
hi there,
does the plugin work with custom taxonomies or just categories ?
thx
raf
Hi,
I'm currently working on getting the plug in going on mappingthecommons.org/osm, but unfortunately the custom field you defined for the marker placement isn't showing up as an option.
Any suggestions?
Hi great plugin, many thanks.
I'm using the android wp app, together with wp plugin geolocation (http://wordpress.org/extend/plugins/geolocation/)
The only problem ist that geolocation plugin is using two sepperate custom fields for Lon and Lat. So i added some additional code to your plugin to get it to work. It's probably not fool proof but for me it works:
register_setting( 'osm_cats', 'osm_cats_marker_custom_fieldLon' ); //extra Lon field
register_setting( 'osm_cats', 'osm_cats_marker_custom_fieldLat' ); //extra Lat field
...
Or
Name of the two sepperate custom fields for Lon and Lat parameter. As used by geolocation plugin.
...
$lonlat_custom_fieldLon = get_option('osm_cats_marker_custom_fieldLon');
$lonlat_custom_fieldLat = get_option('osm_cats_marker_custom_fieldLat');
...
if($lonlat_value == '') {
if(get_post_meta(get_the_ID(), $lonlat_custom_fieldLon, true) != '' || get_post_meta(get_the_ID(), $lonlat_custom_fieldLat, true) != '') {
$lonlat_value = get_post_meta(get_the_ID(), $lonlat_custom_fieldLon, true).', '.get_post_meta(get_the_ID(), $lonlat_custom_fieldLat, true);
}
}
maybe you can add something like this "officially"
thanks
Andi
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.