This project uses the gmap-dragdrop-react package on NPM to show six examples of dragging pins on and off of a Google map. Not just making a marker pin draggable. A live slow to start free Render.com web page with all six examples.
Example 1 - Dragging Pins Between Maps
Example 2 - Dragging Pins On and Off a Map
Example 3 - Sets of Pins
Make new marker pins by dragging from the central hub, "Visit the North Shore" . Modify pins by dragging on and off of modify bar.
Example 4 - Pins With Images and Distances
Example 5 - Pins With Draggable Text Data
Example 6 - Custom Pins With Dragged Distances
$ npx gulp
$ npx webpack-cli --node-env 'development'
$ node local-server AIzaSyCE3HSVtJ6yOEkHiBpyoR_iU00gqYgTkfk
http://localhost:5000/maps
$ npx gulp
$ npx webpack-cli
$ node local-server abcdefgh**_Google_Map_API_Key_**ijelmen
http://localhost:5000/maps
Get a Google Maps API key at https://developers.google.com/maps/documentation/javascript/get-api-key
Web Service
Environment
Key goog_map_api
Value Abcdefghijklmnopqrstuvwxyz_1234567890MN
Settings
Build Command $ yarn
Start Command $ node heroku-server.js
///////////////
RefererNotAllowedMapError
bad_openSSL.png below
PS C:\Users\16043\Documents\GitHub\gmap-dragdrop-examples>
PS C:\Users\16043\Documents\GitHub\gmap-dragdrop-examples>
PS C:\Users\16043\Documents\GitHub\gmap-dragdrop-examples>
PS C:\Users\16043\Documents\GitHub\gmap-dragdrop-examples> npm install
OpenSSL configuration error:
30730000:error:80000002:system library:BIO_new_file:No such file or directory:c:\ws\deps\openssl\openssl\crypto\bio\bss_file.c:67:calling fopen(C:\Program Files\PostgreSQL\psqlODBC\etc\open
ssl.cnf, rb)
30730000:error:10000080:BIO routines:BIO_new_file:no such file:c:\ws\deps\openssl\openssl\crypto\bio\bss_file.c:75:
30730000:error:07000072:configuration file routines:def_load:no such file:c:\ws\deps\openssl\openssl\crypto\conf\conf_def.c:179:
OpenSSL configuration error:
50070000:error:80000002:system library:BIO_new_file:No such file or directory:c:\ws\deps\openssl\openssl\crypto\bio\bss_file.c:67:calling fopen(C:\Program Files\PostgreSQL\psqlODBC\etc\open
ssl.cnf, rb)
50070000:error:10000080:BIO routines:BIO_new_file:no such file:c:\ws\deps\openssl\openssl\crypto\bio\bss_file.c:75:
50070000:error:07000072:configuration file routines:def_load:no such file:c:\ws\deps\openssl\openssl\crypto\conf\conf_def.c:179:
PS C:\Users\16043\Documents\GitHub\gmap-dragdrop-examples>