Hello,

In our site, we need to provide the user with a way to post a google map in his/her answer to show a place location..

did somebody do that before? if not who is interested?

asked 29 Sep '11, 02:13

Fahd's gravatar image

Fahd
171249
accept rate: 20%


I haven't done this specifically, but I did create a filter that replaces certain text in an answer with a hyperlink. You could probably use the same approach to detect a google maps address (that the user posts in the answer) and just replace it with the html needed to display the equivalent map:

http://meta.osqa.net/questions/6735/how-can-i-create-custom-filters

link

answered 29 Sep '11, 18:30

rsp's gravatar image

rsp
41661420
accept rate: 66%

my problem is the address, addresses are not supported where we are not like US or Europe..

what I need is a pop-up or fancybox that shows to the user a google map with ability to create a marker then feed the output of such data, lets say the Lng and Lat of the position, to the markdown editor as a tag.. then present such tag as a separate google map later when rendering the page..

I will work on it, but would like to know if somebody did it before or not..

(30 Sep '11, 00:23) Fahd
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×144
×1

Asked: 29 Sep '11, 02:13

Seen: 327 times

Last updated: 30 Sep '11, 00:23

powered by OSQA