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

2 posts, 0 answers
  1. Jay
    Jay avatar
    3 posts
    Member since:
    Feb 2014

    Posted 24 Jan 2015 Link to this post

    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
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 27 Jan 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top