Giter Club home page Giter Club logo

rajkavinchetty / google-maps-api-with-php-mysql Goto Github PK

View Code? Open in Web Editor NEW
61.0 11.0 34.0 21 KB

A Snippet of code to help you in Google Maps API. In this Script PHP Array and MySQL is used to store Latitude and Longitude. This script is made for those who needs a Map with Multiple Markers which changes it's Position Dynamically. In other words, This is made for people who need t a Map solution for Uber Like Application

License: GNU General Public License v3.0

PHP 100.00%
google-maps google-maps-api javascript php mysql site

google-maps-api-with-php-mysql's Issues

Error

Hi, for some reason I am getting the following message.

Notice: Undefined index: service in C:\xampp\htdocs\Maps\maps.php on line 3
$work=$_GET["service"];

Fatal error: Call to a member function fetch_assoc() on boolean in C:\xampp\htdocs\Maps\maps.php on line 12

about data in maps

Hi, I created my table but I can not see the map, it is blank. Do I need some special parameter?

regards

map not loading

hey i am using this code for showing multiple marker dynamicaly but i am facing issue that map being blanked and not showing any marker even after getting all values in my locations array i have tested it.only map is not displaying correctly and no markers are displaying.

info window getting an error

Thanks for the great script! I am able to get all the markers working. The issue I am having is with the info window. When I try to pull data that is a varchar longer than 4 I get this error.
Uncaught SyntaxError: Unexpected identifier
I tested and changed the name to 3 varchar and it worked but I have names and addresses for the markers that are as long as 30 varchar. Also, when I test it with the echo prior to the javascript the data pulls through correctly. Do you know what could be causing this issue?

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.