Giter Club home page Giter Club logo

acf-address-map-field's People

Contributors

brianjhanson avatar chrisgoddard avatar ethanclevenger91 avatar knicklabs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acf-address-map-field's Issues

Maximum Call Stack Exceeded

I was getting a maximum call stack exceeded for zoom_changed. I modified the input.v5.js line 84 to ensure a zoom value is available because it was coming back undefined.

            var zoom = this.o.zoom.length > 0  ? parseInt(this.o.zoom) : 10;
            // vars
            var args = {
                zoom        : zoom,
                center      : new google.maps.LatLng(this.o.lat, this.o.lng),
                mapTypeId   : google.maps.MapTypeId.ROADMAP
            };

Google Maps MissingKeyMap Error

Getting this error when using Address Map field. Added the API Key correctly as shown here https://www.advancedcustomfields.com/resources/google-map/.
*Note: Default Google Maps ACF field is working correctly and not ginving this error

Console output:
util.js:215 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys uB.j @ util.js:215 (anonymous) @ js?v=3&sensor=false&libraries=places&callback=google.loader.callbacks.maps:134 (anonymous) @ js?v=3&sensor=false&libraries=places&callback=google.loader.callbacks.maps:56 (anonymous) @ js?v=3&sensor=false&libraries=places&callback=google.loader.callbacks.maps:53 (anonymous) @ js?v=3&sensor=false&libraries=places&callback=google.loader.callbacks.maps:56 _.G @ js?v=3&sensor=false&libraries=places&callback=google.loader.callbacks.maps:55 (anonymous) @ js?v=3&sensor=false&libraries=places&callback=google.loader.callbacks.maps:56 _.v @ js?v=3&sensor=false&libraries=places&callback=google.loader.callbacks.maps:35 Xc @ js?v=3&sensor=false&libraries=places&callback=google.loader.callbacks.maps:56 (anonymous) @ js?v=3&sensor=false&libraries=places&callback=google.loader.callbacks.maps:134

*PD: Thanks for your work and for sharing @chrisgoddard !!

Lat/Lng swapped?

The latitude and longitude values get saved backwards in the V5 version. Went into input.v5.js and updated lines 213-214, swapping A & F and it works correctly.

No Longitude?

Lemme just say this first - this is exactly what I'm looking for and thanks for sharing.

When I activated the plugin and started using it, it works great and auto dumps in the address, city, etc data, everything except for the longitude.

When i got to print out the array, any address I create only gets an [lat] value and an empty [lng] value

Just wondering if you would know of a fix for this?

Map Would Not Display

I was getting an error in the console "Too much recursion". It was resolved by setting default zoom in the field options. May want to add that to the README or set default zoom in the code so it doesn't error out.

Thanks for a great plugin!

No map rendered in backend

Nice plugin, works just fine on the public side, but for some reason the map isn't showing in the backend of my site.
The site is running on a local dev instance using Wocker/Timber/Underwood. Would being behind a NAT firewall prevent it from showing?
I'm running ACF Pro.

Lat & Lng not working

Solved by updating input.v5.js lines 313 & 314. Change class names.

this.$el.find('.latitude').val( lat );
this.$el.find('.longitude').val( lng ).trigger('change');

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.