UPME Google Maps

UPME Google Maps is an addon created to display user locations in a Google Map for User Profiles Made Easy.   This addon will allow you to display all the users in a Google Map instead of using the tables based member list. More awesome features are coming soon.

google_maps

You can directly purchase this plugin from Gumroad by clicking the Purchase Addon button.

Click here to view available licenses for this addon.

Features

  • Display Users in a Google Map based on the location
  • Marker Clustering to show number of users in specific area

Pricing ( Excluding Taxes for your Country)

 

  • Support Renewals$25/Year ( Personal and Business license holders need to renew support every year at this rate. Without renewals, you won’t be able to get support from our team after 1 Year. However, you may continue to use the product and get updates for lifetime without support. Developer license holders don’t need support renewals as it contains life time support.

Prerequisites

  • WordPress 4.3 or higher
  • UPME version 2.1.15 or higher

Installation

  • You should have already installed UPME version 2.1.15 or higher, before using this addon.
  • Installing UPME Google Maps – Upload and extract the upme-google-maps.zip file into /wp-contents/plugins folder in your WordPress installation.
  • Activate the addon using Plugins section of WordPress.
  • Now you are ready to get started.

Usage of Google Map Marker Fields

First, you need to add your Google API Key to use google maps.  Go to UPME Google Maps on the left menu and you will see the setting to add the API Key as shown in the following screenshot.  Create an API Key from your google account and save it in the settings section.

gmaps_1

Now you can create one or more Google Map Marker fields based on your requirements. Go to UPME Custom Fields section and you will find a new field type called Google Map Marker as shown in the following screenshot.  

gmaps_2

Create a field as usual for adding google map locations.  You can use multiple Google Map Marker fields to capture data such as Home location, Office Location of users.

 

How to Add Locations In UPME Profile

Once logged in user can go to Edit Profile section and find the Google Map Marker fields as shown in the following screenshot. Initially, user will see an empty map.

gmaps_3

Now user can zoom into the map and find his location. Then user can click on the map to add a Marker to the preferred location as shown in the previous screenshot.   User can change the location anytime by clicking on different area of the map.  Once location is selected, user can click on the Update Profile button to save the location to the profile.

Then selected location will be displayed inside the View Profile area as shown in the following screenshot.  User can’t click the map on the view area to change locations.

gmaps_4

Display Users in a Google Map

You can display all users in a single google map using the Google Map Marker fields.  Add the following shortcode to a page/post with the meta key of your Google Map Marker field.

[[ugma_user_google_map meta_key='ADD META KEY OF YOUR GOOGLE MAP MARKER FIELD' ]

This shortcode supports following atributes for configuring the display of your Google Map.

  • meta_key – This is the meta key of your Google Map Marker field
  • zoom – This is the default zoom level and its set to to show the whole world. You can increase the zoom level to point to a specific area of the map.
  • center_latitude – This is the center latitude of the map and its set to 0 to display the map center. You can change this value to focus on to a specific area or country.
  • center_longitude –  This is the center longitude of the map and its set to 0 to display the map center. You can change this value to focus on to a specific area or country.
  • map_type – This is the Google Map type and its set to ROADMAP by default. You can use ROADMAPSATELLITEHYBRIDTERRAIN as the available values.
  • grid_size – This is the grid size of a cluster in pixels and its set to 60. Don’t change it unless you have knowledge of map clustering.
  • max_zoom – This is the maximum zoom level that a marker can be part of a
    cluster and its set to null. Don’t change it unless you have knowledge of map clustering
  • average_center – This is used to get whether the center of each cluster should be
    the average of all markers in the cluster. Its set to false by default.
  • minimum_cluster_size –  The minimum number of markers to be in a cluster before the markers are hidden and a count is shown. This is set to 2 by default. You can increase the value as needed. If you increase this value to 5, map will show a cluster only when 5 members are in nearby locations.
  • users_per_page – This is used to limit the number of users displayed in map since large set of users can slow down the page. Currently, there is no pagination and hence you can only limit to a first set of users.

 

This shortcode can be used with different attributes for different Google Map Marker fields. However, you can only display one map inside any post/page. Showing multiple maps will lead into conflicts.

Once the shortcode is used, all users who have added their location to the Google Map Marker field will be displayed inside the map as shown in following screenshot.

gmaps_5

This example contains 100 user locations and most of the users are based on USA.  If you have a user base all over the world, markers will be shown all over the world.  Here, you can see some single markers in blue as well as marker clusters in yellow with a number.  When there are limited users inside a specific grid, single user markers will be shown in blue.  If there are many users  inside a specific grid,  yellow cluster with number of users inside it will be displayed to improve the performance.

You can click on a yellow cluster to expand it and show the users inside it using sub clusters and single location markers as shown in the following screen.

gmaps_6

Now you can click on a single map marker in blue to see the user as shown in the following screenshot. You can click on the users image or name to load the UPME profile for user in a separate tab.

gmaps_7

Upgrading

  • You should deactivate the addon before upgrading to new version.
  • You can upload and replace the previous version folder using ftp or delete the existing version from WordPress plugins list and upload the new version.
  • This addon does not provide an automatic upgrade routine at this stage.
  • Once uploaded you can reactivate the plugin.
  • If you follow the proper procedure and if we haven’t mentioned anything special about each release, you won’t loose any data or settings by upgrading to new versions.

Refunds

  • Refunds may only be issued within 30 days of the purchase date. After 30 days no refunds can be processed.
  • No refunds will be offered unless you allow us to adequately try and assist you in resolving the issue on your site.
  • You can get a refund if you find bugs in the addon and developer can’t get it sorted within a feasible time period.
  • No refunds will be provided for conflicts with themes or other plugins.
  • No refunds will be provided when the features are not capable of handling your requirements. So please make sure to ask Pre-Sales questions and confirm whether its right for you.