Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9195899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:43:51+00:00 2026-06-17T21:43:51+00:00

I use leaflet to zoom into images in webapps that I’ve made (see http://rihannadecoded.com

  • 0

I use leaflet to zoom into images in webapps that I’ve made (see http://rihannadecoded.com for an example site). In order to make the images work, I need to make sure that they are a square that can break down into 256×256 pixel chunks.

Now I’d like to create a similar site for an image that is 5000×2000 pixels (or whatever other non-square resolution). Is there any way that I can use leaflet to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T21:43:52+00:00Added an answer on June 17, 2026 at 9:43 pm

    It shouldn’t matter if the image is square and could be splitted ub to 256×256 chunks.

    For a 5000×2000 image you e.g. may use 250×250 – tiles(use the tileSize-option to define the size of the tiles).

    When the image can’t be splitted into square chunks, you still have the option to complete the partially tiles on right/bottom with a background-color of your choice.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In the documentation for Leaflet here: http://leafletjs.com/reference-1.2.0.html#circlemarker it says that CircleMaker extends Circle, and
use case example I have a servlet that is receiving login requests. If a
Use http://jobs.sitesixteen.com/ for reference. I'm using YQL for the city, state auto-complete. IF you
I'm planning a website which will use huge schematics, that is, raster images that
use I can't divide into segads. As for my above example if 5 threads
I want to draw many geo points with Leaflet. Therefore I want to use
Use of gradient images is very common among developers for styling a page. Gradient
I have successfully set up a Leaflet JS map that uses the Google maps
Use MongoDB GridFS store images and images stored directly on disk What are the
Question: Is it possible to use Leaflet.label on Leaflet.markercluster ? Problem: I am trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.