API Code - WP Maps Pro

15000+ live websites are using this google maps wordpress plugin.

Category: API Code

How to access Arguments in UI Events?

Introduction: In this tutorial we will learn how to access arguments in UI events. Below example helps to create a map that the user can click to create a marker at the clicked point. UI events in the Maps JavaScript API normally send an event parameter, which the event listener can use to determine the […]

Cooperative Gesture Handling in Maps

Introduction: In this tutorial, we will see about the Cooperative Gesture Handling. When a user scrolls down a page that contains a map, the map may zoom in unintentionally. The gestureHandling map option can be used to control this behavior. hestureHandling: cooperative The gestureHandling option is set to cooperative in the map below, allowing the […]

How to Create Simple Google Maps

Introduction: This tutorial will help you learn about the basics of Google Maps. The simple map is created using JavaScript mentioning the longitude and the latitude of the required area. Code: let map: google.maps.Map; function initMap(): void { map = new google.maps.Map(document.getElementById(“map”) as HTMLElement, { center: { lat: -34.397, lng: 150.644 }, zoom: 8, }); […]

Install Plugin Now!

Buy this plugin exclusively on CodeCanyon! You’ll get free updates, full support, and if you’re not satisfied, we’ve got you covered with a 30-day money-back guarantee.