Comments (3)
I'm not sure what you mean by "rel" to marker bubble, but if you want to work with AJAX connected to the markers, you can start working with this:
jeo.markersReady(function(map) {
var markers = map._markers;
console.log(markers[0]); // check out the structure;
// Start working with the markers with your code
});
Some reference on the marker object
from jeo.
thanks!
from jeo.
Another quick tip, if you want to pass custom meta to the properties of the marker's geojson feature, you can do that with this wordpress filter:
function my_custom_data($properties, $post) {
// add post custom data
$properties['my_custom_meta'] = get_post_meta($post->ID, 'my-custom-meta', true);
// custom posts data
if(get_post_type($post) == 'custom-post-type') {
$properties['custom'] = get_post_meta($post->ID, 'custom-post-type-meta', true);
}
return $properties;
}
add_filter('jeo_marker_data', 'my_custom_data', 10, 2);
This can be useful if you are working with javascript based filters using custom post data
from jeo.
Related Issues (20)
- Multilingual issues using the content api
- Bug ou Funcionalidade: Interatividade usando CartoDB HOT 1
- Upgrade to latest version of mapbox.js HOT 1
- Creation of Map Gallery + Map as standalone object in a page
- Geo-reference pages in the same manner as posts.
- problem in jeoicons fonts HOT 1
- Mapbox layers will not work from multiple accounts HOT 3
- move repository to /codigourbano HOT 2
- GeoJOSN export limited to 100 items HOT 3
- Featured posts on front page HOT 6
- Fancy URL give me 404
- Any new update to make the Theme mobile friendly?
- Wordpress compatible with php7...
- Juli 11, 2016 direct tile address on MapqQuest has been discontinued.
- Full page template
- strange error debug message
- Initializing $jeo in PHP 7 HOT 1
- Installation error
- Function in the class extended from Walker_Category class error on PHP 7
- Trying to get in touch regarding a security issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jeo.