mapyna

Mapyna: Seamless Integration of Google Maps and Leaflet

Mapyna is a powerful JavaScript library tailored for location-based websites, perfect for platforms like real estate sites that need to display locations as markers on maps. It seamlessly integrates interactive maps into websites, enhancing user experience and providing valuable location-based information.

Demo : https://mapyna.realtyna.info/

$ npm install mapyna

add google map or leaflet to your project

import mapyna from 'mapyna'

// ...

const mapynaConfig:TMapynaConfig = {
// ...
}

// GoogleMap
mapyna(mapynaConfig).googleMap()

// LeafletMap
mapyna(mapynaConfig).leaflet()

Mapyna Config Doc

If you'd like to contribute to this project, please follow these steps:

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Add your changes: git add .
  4. Commit your changes: git commit -am 'Add some feature'
  5. Push to the branch: git push origin my-new-feature
  6. Submit a pull request

MIT