tu9/tu9-googlemap-markers

This is tu9 googlemap markers component

This package's canonical repository appears to be gone and the package has been frozen as a result.

1.0.1 2023-01-13 11:56 UTC

This package is not auto-updated.

Last update: 2025-05-17 21:31:45 UTC


README

Introduction

  • Integrate a map on your site
  • Show marker for each position
  • Show detailed information when clicking on each marker

How it work?

Users only need to add values to already declared variables. Functions will receive information and automatically build markers according to the address declared by the user

Variables

Key variables (required) (Google Maps Javascript API key)

  • Get Google Maps Javascript API key:

    Access the link and follow the instructions to get Google Maps API key. https://developers.google.com/maps/documentation/javascript/

Locations variables (required)

  • $locations is an array of the addresses you want to create the marker.
  • The information of the place given in the array must be correct for google to be able to locate it.

styleWindowInfo variables

  • Customize style window info display

styleTitle variables

  • Customize style title display

styleContent variables

  • Customize style content display

title variables

  • Customize title of window info.

content variables

  • Customize content of window info.

urlImage variables

  • add url icon markers.

mapOptions variables

  • Set values for build map display.