Category Archives: Neighborhood Walker plugin

Google Maps Platfom images-01

IMPORTANT: Google Maps Changes!

Short info for you if you wish to use google maps:

In admin->settings->system settings (If you using WordPress then Admin->Listings->Settings) you need to enter your google maps api key and enable billing on Google Maps. If you will not do that then google maps and will stop working on June 11th and your website may become unusable (UPDATE: Google started with billing on 18.07.2018).

Now google created nice page to generate your owm maps api key: https://developers.google.com/maps/documentation/javascript/get-api-key

Old guide how to enter and get your own api key: http://iwinter.com.hr/support/?p=9658

For now Google will provide free 200 USD/months what should be enough for all our clients.

EDIT: on 1. August 2019 I received invoice 55 USD so noticed that no more free 200 USD per month, is actually limited to 300 USD for first year and will be probably removed in future

you need to enable this libraries for all features:

Screenshot_1

Short info for you if you want to use completely free (for now) openstreetmaps:

We working on implementation, in new script versions you will be able to find: admin->settings->system settings->Open street map checkbox like on screen:

Screenshot_1

Or in WordPress themes/plugins in Admin->Listings->Settings

Other details:

Today May 2, Google release troublesome news about Google Maps, please read this complete news because your website may stop working.

Beginning June 11th, Google launching new pricing plan what will impact all clients and cause google maps not working issue!

News: https://mapsplatform.googleblog.com/2018/05/introducing-google-maps-platform.html

Pricing: https://cloud.google.com/maps-platform/pricing/sheet/

What this means for us?

Until now we providing our api key by default on installation, but because many of website now using our api key we are not able to pay this by new google pricing so api key related will be disabled by google and you will need to enter your own api key.

We plan to implement alternative free maps support, still deciding about solution, probably will be openstreetmaps or similar. Problem is that we don’t have enough time to implement this on all our script and themes so your own api key is only solution for now.

 

 

How to auto-integrate walker into other theme?

If you don’t want to each time when adding new property add shortcode this is solution for you:

Walker map can be auto-integrated into theme or plugin with some customizations:

You should investigate which template file generate property preview page and how to fetch coordinates, address and title ,then set it to variables:

$w_p_title , $gmap_lat, $gmap_long, $property_address

Here is example code to generate shortcode in template file:

<h4>Neighborhood places</h4>
<?php
$w_p_title = get_post_meta($post->ID, 'post_title', true);
$gmap_lat = $gmap_lat;
$gmap_long = $gmap_long;
$property_address = $property_address;

echo do_shortcode('[walker metric="km" latitude="'.$gmap_lat.'" longitude="'.$gmap_long.'" default_index="1"]'.$w_p_title.'<br />'.$property_address.'[/walker]');
?>

If you have issues or not familiar with “code” I can also try to do this for you for additional cost. If you are interested drop me email or open support ticket…

 

 

 

Custom details on places infowindow

Details can be removed with simple customizations, part of code where content is generated:
wp-content\plugins\SW_Neighborhood_Walker\js\near_places_obj.js, line 321 or search for “placeDetails” and remove wanted, for example part: <a>….</a> if you want to remove link to details.

Regarding address, if you want to add more details etc…
Can be used like this:
'<br />Address: '+placeDetails.formatted_address+

Demo Neighborhood Walker plugin

Buy it exclusive on codecanyon!

Demo for Slovenia  (Europe) example:

46.4199535
15.8696884
My demo location example…
2000
WALKING
km
en
15
100%
4
400px
Distance
Address
Walking time
min
Details

Demo for India example:

45.8129663
15.976036000000022
My demo location example…
2000
WALKING
km
en
15
100%
india, nagpur
4
400px
Distance
Address
Walking time
min
Details

Demo for Sri Lanka example:

45.8129663
15.976036000000022
My demo location example…
2000
WALKING
km
en
15
100%
Colombo, Sri Lanka
4
400px
Distance
Address
Walking time
min
Details

Demo for Portugal example:

45.8129663
15.976036000000022
My demo location example…
2000
WALKING
km
en
15
100%
Portugal, Amadora
4
400px
Distance
Address
Walking time
min
Details

 

Tehnical documentation