Jump to content

help creating a building map


markbett

Recommended Posts

I am looking to impliment a digital maping system similar to google maps where I can take floorplans of my company and map assets to certain locations and search for them after.  like google-maps meets an office people-finder so that when you are looking for printer 23-541-a you can just put it in the interface and it will bring up the map of where the asset is in the company....

 

I ahve been looking for a tutorial on creating something like this or an existing product but have had no luck... can someone point me in the right direction

Link to comment
Share on other sites

I would:

 

1) Make maps with grid references.

 

2) make an sql database with however many coordinates something like:

 

id, resource, resource_description, mapid, x-coord, y-coord

 

Then you can reference each item so for your example you would search for printer 23-541 and the result would be map=3 coordinate=(32,53)

 

If you want to make it really easy use the image of the map as a background image and a bit of css to put a star or something at the coordinate with position:absolute; left:x-coord*factor; top:y-coord*factor;

 

something like that should do.

 

Martin

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.