GithubHelp home page GithubHelp logo

cyphercodes / location-picker Goto Github PK

View Code? Open in Web Editor NEW
73.0 4.0 15.0 430 KB

An open source location picker plugin using Google Maps v3 that works with all JavaScript flavors!

Home Page: https://cyphercodes.github.io/location-picker/

License: GNU General Public License v3.0

HTML 21.26% TypeScript 78.74%
google-maps locationpicker javascript-plugin typescript javascript

location-picker's Issues

Passing long and lat to an HTML form and sending it to a different page

Thank you very much for your great contribution, everything works fine and I can display the result of the JavaScript inside this span in my html using the id value.

Now, what I want is to pass that value into an HTML form and send it to another page but i do not know how to do that

Give the possibility to define our own default lat, lng instead of tripoli, liban

Being in France, having Tripoli, Liban as the default location seems weird.

I would like to be able to define my own.

I'm not an expert in JS but I guess that here : https://github.com/cyphercodes/location-picker/blob/master/src/location-picker.ts#L23

We could have something like :

center: new google.maps.LatLng(pO.lat ? pO.lat : pO.dfLat ? pO.dfLat : 34.4346, pO.lng ? pO.lng : pO.dfLng ? pO.dfLng : 35.8362),

What do you think ?

Add polygon

how can i add polygon with this lib .... can u provide some examples ..
image

Cannot find namespace 'google' (Angular 7.2)

I've just followed instructions in readme.md "Angular Example" and this error occured:

ERROR in node_modules/location-picker/dist/types/location-picker.d.ts(1,23): error TS2688: Cannot find type definition file for 'googlemaps'.
node_modules/location-picker/dist/types/location-picker.d.ts(2,21): error TS2503: Cannot find namespace 'google'.
node_modules/location-picker/dist/types/location-picker.d.ts(3,14): error TS2503: Cannot find namespace 'google'.

Angular CLI: 7.2.3
Node: 8.15.0
OS: linux x64
Angular: 7.2.2

insert picker in google form with the option of uploading files

Hello I want to build a database for the end of studies project for my students
And I want to do that with google-form, but the option I want is to add a map with which the student can georeference his project on a map but easily so when he puts his project on a map the box georeferenced will fill in automatically, with the option to upload PDF, thank you very much for your help.
cheers

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.