Adding Lat/Long Picker to Admin

This post is slightly out of order, but here is a screen shot of how I implemented the latitude/longitude in yesterday’s post into my standard admin interface:

detail

The user can manually enter the lat/long, click on the map – which moves the marker to the new point and fills in the lat/long fields, or enter a street address. When “find” is clicked, the map marker changes to the street address location and the lat/long fields are automatically filled in.


jQuery(‘.nrelate_default’).removeClass(‘nrelate_default’);

/* <![CDATA[ */
nRelate.domain = "www.sophrosynelife.com";
var entity_decoded_nr_mp_url = jQuery('‘).html(“http://api.nrelate.com/mpw_wp/0.51.4/?tag=nrelate_popular&domain=www.sophrosynelife.com&url=http%3A%2F%2Fwww.sophrosynelife.com%2F2013%2F01%2Fadding-latlong-picker-to-admin%2F&nr_div_number=2&maxageposts=5256000&increment=0”).text();
nRelate.getNrelatePosts(entity_decoded_nr_mp_url);
/* ]]> */

The post Adding Lat/Long Picker to Admin appeared first on Sophrosyne Life.

Diane Ensey
Follow me

Diane Ensey

Programming Diva and CEO at Beyond Paper
For more than 10 years I've been making websites work for clients world-wide using WordPress, Google Maps, forms and custom applications. You can see my work portfolio and case studies at Beyond Paper.
Diane Ensey
Follow me

Submit a Comment