CBX Map for Google Map & OpenStreetMap

Beschreibung

Long story short, I was searching for easy google map embed in wordpress using lat, lng and I didn’t find one
that is easy and works instantly. So I created one.

See more details and usages guide and display system coding guide

Key Features

  • Google MAP or Openstreep map(no api key needed)
  • Custom post type for map
  • Easy Shortcode
  • Works without custom post type using the same shortcode [cbxgooglemap]
  • Responsive with browser width and resize
  • Info window
  • Default global Setting
  • Meta field for custom post type
  • Easy geo complete feature while finding proper marker position in custom post type edit.
  • Easy copy shortcode with mouse click

Special Features

  • Elementor page builder element/widget support
  • Gutenberg support (From v1.1.2)

Shortcode Params

The most short form of the shortcode is
[cbxgooglemap id=“google map post id here“] where id is post id of custom google map post type

We can use shortcode to display saved map (this plugin creates custom post type CBX Maps(cbxgooglemap) in admin to create maps as need) or can display map using custom attributes. For save map we need only one param [cbxgooglemap id=“google map post id here“]

id      = post id, can be empty
--------------------------------
We can also display map using custom attributes
maptype = default 'roadmap', possible values, 'roadmap', 'satellite', 'hybrid',  'terrain'
width   = numeric value, '%' accepted, no 'px', if only numeric value then px will be added automatically
height  = nemeric value, no 'px'
zoom    = default 8
lat     = lattitude value, required
lng     = longitude value, required
heading = used for info window title
website = website url that is linked to place name in popup info window, leave empty to ignore
address = used for info window content
scrollwheel = 1 enable , 0 disable, default 1 or comes from default config
showinfo = 1 enable , 0 disable, default 1 or comes from default config, show popup window or not
infow_open = 1 enable , 0 disable, default 1 or comes from default config, show popup as opened or on click
mapicon = map icon url, leave empty to ignore

Let us know which new feature you except.

Pro Addon Features

  • Distance Search shortcode , map and list display
  • Displays multiple markers from the maps post types in single map
  • Make map public or not so that single map can be browse like post
  • Map Categories

Check the proaddon more details

Screenshots

  • CBX Map global setting
  • CBX Map global setting-2
  • CBX Map admin post listing
  • CBX Map admin single map edit
  • CBX Map admin single map edit -2
  • CBX Map frontend

Blöcke

Dieses Plugin unterstützt 1 Block.

codeboxr/cbxgooglemap

Installation

This section describes how to install the plugin and get it working.

e.g.

  1. Upload folder cbxgooglemap to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress
  3. Go to CBX Google map setting, put google map api key (in google project console you need, js map api, geo coding api, e)
  4. Place shortcode any where as need

FAQ

Is there any custom function to call directly ?

No at this moment

Rezensionen

Januar 27, 2019
Thank good for this Plugin since getting a google API is a mess! I tried to get an API for two hours now. I give it up and will use openstreetmap and this plugin from now on. Thaaaaaaaank you!!!!
Lies alle 1 Rezension

Mitwirkende & Entwickler

„CBX Map for Google Map & OpenStreetMap“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Änderungsprotokoll

1.1.2

  • not released yet
  • New shortcode param, default setting, post meta ‚infow_open‘ to control info window default popup open or not.
  • Added new shortcode params maptype for google map types(roadmap, satelite, hybrid, terrain)
  • Elementor now has custom attributes feature , that means no need saved map to display
  • Added gutenberg block support

1.1.1

  • [Improvement] Elementor widget dynamic render and lots of other improvement
  • Template system and template override from theme, same feature in pro addon

1.1.0

  • [Improvement] Add same type html markup for opensteetmap info window for heading and description. lots of improvement.
  • [New] Pro addon released for distance search search features with new shortcode.

1.0.10

  • [Bug Fix] Map save error fix

1.0.9

  • [New] Added openstreet map as an option with existing google map which need api key

1.0.8

  • [Bug Fix] Backend map address input field flickering issue

1.0.7

  • [Improvement] CSS and JS minified for best performance

1.0.6

  • [Bug Fix] Minor bug fix and improvement

1.0.5

  • [Bug Fix] Google api key missing error handled