This is a migrated thread and some comments may be shown as answers.

Using Custom Image with Map (such as Movie Theater Seating Chart)

1 Answer 388 Views
Map
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 25 Jan 2015, 03:25 AM
Hello, I'm a current customer. We just purchased DevCraft not long ago...and I've been implementing a bunch of controls.

I have a spec from a customer to build an image map of a movie theater, and then you click a seat and I add it to a cart. Also, seats will be colored...red if unavailable, green if available.

With that being said, can the ASP.NET Map control be used for this? Or only for 'live' maps, such as Bing? 

If this control is not suitable, is there another in your Suite?

I realize .Net has an ImageMap control, but it doesn't support Styling or IDs on hotspots.

Thanks!

Jay

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 27 Jan 2015, 02:37 PM
Hello Jay,

The RadMap can draw shapes based on GeoJSON literals, therefore, it can draw seats or whatever shape you need. Although, you should note that the RadMap does not provide an automated logic to create the GeoJSON. You should do it from scratch.

Click logic or other shape-dedicated manioulations can be further handled via the shapes' events - shapeClick, shapeCreated, shapeMouseEnter and shapeMouseLeave.

You can find attached a simple example which illustrates how you can handle such a requirement. Although, the client-side logic to manipulate items in a cart and further should be additionally designed. 

Regards,
Ianko
Telerik
Tags
Map
Asked by
Jay
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or