Giter Club home page Giter Club logo

statamic-google-maps's People

Watchers

 avatar  avatar

statamic-google-maps's Issues

Map tag «icon» returns an error

Adding the icon-tag returns an error.

{{ map icon="/assets/marker.png }}

Error message: Modifier [icon] not found

Project details:
Statamic 3.3.3 Pro
Laravel 8.83.5
PHP 8.1.2
doublethreedigital/duplicator 2.1.1
jezzdk/statamic-google-maps 1.2
spatie/statamic-responsive-images 2.11.0

Thanks!

Add controls

Hey, could you add the possibility to show the controls please? This would be really nice!

Map Type control overlapped by Zoom control

All control panels stick in the top left corner. Check attached screenshot. I am using the Google Maps Pro version.

Project details:
Statamic 3.3.3 Pro
Laravel 8.83.5
PHP 8.1.2
doublethreedigital/duplicator 2.1.1
jezzdk/statamic-google-maps 1.2
spatie/statamic-responsive-images 2.11.0

Thanks!

google-maps-bug

Marker coordinates not saved after geocoder search

After searching for an address using the geocoder the marker is placed on the map in the control panel. Save the page, reload the editor and the marker is gone.
Now I have to manually click the map for the marker to be placed / saved.

After a geocoder search:
1

After saving and reloading:
2

It doesn't work if configuration is cached

The addon uses the env() function in files other than config files. If the config:cache command is used, the env() function call returns null so the map never loads correctly.

From Laravel documentation:
"If you execute the config:cache command during your deployment process, you should be sure that you are only calling the env function from within your configuration files. Once the configuration has been cached, the .env file will not be loaded and all calls to the env function will return null."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.