atm that’s it, more map features is on the todo list
Thx, Marcus. It’s almost (to me, that is) as important as the 12/24H! π Just kidding. π
Yes – Can I add also that the ability to INPUT coordinates on the ‘add event’ form would be very useful, especially for people in rural areas.
A few places here are either not found on Google maps (because it’s on a new street or a street name known only to locals) or are placed incorrectly on Google maps.
Being able to input coordinates would solve that issue and mark EXACTLY where the function/event is being held.
Agree, debsch! Not to mention, that a lot of festivals has their parking/entrance etc. at places, which is away from paved roads (hence not on GM). Furthermore, it opens up for an opportunity to use the data in other GM-plugs. E.g., I badly need mashup in my solution.
I have to check maps out for an IE conflict, and this is well overdue, so maybe I can squeeze this in for the next update.
guess what, i looked at the API again and turns out this was quite easy. I got excited π
check out the dev version and try editing a location. markers are now draggable!
Hmmm! Installed the dev, but I can’t drag the marker.
probably because i got too excited and forgot to update the trunk :\ oops! try now, it’s there for sure
Well, I still can’t drag the marker. Strange. And it says 5.1.3.2, so the update is rolled in.
try refreshing your browser, might be because your js file isn’t refreshed (happened to me first time)
Yeeees, there it is! Think with this feature you make a lot of people quite happy…
Nice, Marcus. Will the #_LOCATIONLONGITUDE and #_LOCATIONLATITUDE placeholders also find their way to the next release? π
Try pasting these to your theme functions.php
add_filter('em_location_output_placeholder','my_em_location_latitude_placeholders',1,3);
function my_em_location_latitude_placeholders($replacement, $EM_Location, $result){
global $wp_query, $wp_rewrite;
switch( $result ){
case '#_LOCATIONLATITUDE':
$replacement = $EM_Location->location_latitude;
break;
}
return $replacement;
}
add_filter('em_location_output_placeholder','my_em_location_longitude_placeholders',1,3);
function my_em_location_longitude_placeholders($replacement, $EM_Location, $result){
global $wp_query, $wp_rewrite;
switch( $result ){
case '#_LOCATIONLONGITUDE':
$replacement = $EM_Location->location_longitude;
break;
}
return $replacement;
}
Oh yeah! Sweet, agelonwl! Maybe I should consider digging into coding a bit more. Thanks a lot. That really saved me some trouble. Currently I’m implementing a “Navigate to…”-button on each event for TomTom and Garmin devices. That’s why it’s a tad more easy with lat/lon. π