Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3904 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello everybody,

I a beginner using filemaker and i would like to do something. A lot of search on the web but no solution.

I have a table and a google map using webviewer. For each recorder i would like to add ( or remove ) a maker / pin by clicking directly on the map. The makers are not on a specific address, it would be on a mountaine without road for exemple.

If i select all the recorder, all the marker will appear.

I don't know programming that why i'm looking for an exemple that i could adapt to my program or someone that could help me to do this.

A other solution ( less better ) would be to use a static picture and add marker ( by drawing ). But also for this solution i don't find an exemple that i could use to do that.

Could someone help me ?

Eric

Posted

There is no easy way to interact directly with a web viewer and dynamically add/remove pins on a Google map.  Doing this would require some type of interaction with a scripting language (Javascript, PHP, jquery, etc) to get the information in and out of Filemaker and into Googles mapping API.

 

An alternative method would be to have your records contain a static set of lat/long coordinates and then display them all at the same time from within a web viewer.  This would give you a visual representation of the found set of records that you could add/remove/update as needed, but you'd have to do the manipulation of the data from within Filemaker and then manually refresh the web viewer with the updated changes.

Posted

thank you James

 

I arrive to apply your alternative but this is not the good solution.

I would like to known if it's possible to add points like a draw over a static picture.

One point = One record 

 

I can't believe that there is not an existing exemple to add marker manually on a google map. So dissapointed :hammer:  

Posted

This is more of a Google Maps issue than a FM issue.

 

You need to know how to use Google Map's API to send the date to Google and return the resulting map. It is possible to do what you want. But not necessarily easy for a beginner.  Asking FileMaker to maintain and build features based on Google's ever-changing products is...well...unreasonable.  They do however provide the framework you need to make it happen.

 

The key here is that you need some way to grab the coordinates from the map ( this can be the tricky part if you are not a web developer or coder of some fashion ), and store them in your FileMaker file. You could then fairly easily send a call to Google Maps and include the coordinates and it would pin the map for you.

  • 1 month later...
  • 2 weeks later...
  • Newbies
Posted

Hi laffarguee,

I just posted a blog today regarding customized Google Maps in FileMaker using Google Maps API v3. This could be altered to achieve what you are looking for if you know how to modify Google's API javascript parameters (should be easy peasy). Check out the link here to read the basic tutorial http://bitly.com/1h5pRj8. At the end of the article I have included a FileMaker 13 Solution file along with the necessary PHP file to accomplish this. I sure hope this helps set you in the right direction. Let me know if you have any questions. Happy coding!

Posted

Anyone have an eror in Filemaker Pro 13 trying to display Google Maps? It used to work a week or so ago but now I get an error that the Google Embed API needs to be in an iFrame...

Thanks!

Brian

This topic is 3904 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.