Commit Graph
100 Commits
Author SHA1 Message Date
Tim Schaub c56fce2be8 Attempting to clarify. 2012-07-11 17:20:06 +02:00
Tim Schaub d8e8e55b44 Generalizing query string parsing in the loader. 2012-07-04 20:53:03 -06:00
Tim Schaub 08d6e35252 Accept an id param for the loader. 2012-06-23 20:00:28 +02:00
Tim Schaub 2fcbce30bc For now, we require a projection on loc internally. 2012-06-23 19:59:49 +02:00
Tim Schaub bcc85b9dd7 Must set a projection before setting center. 2012-06-23 16:55:16 +02:00
Tim Schaub db2cbe07b7 Transforming coords before setting center.
The internal setCenter method can only be called with locations that have projections.  This method always transforms.
2012-06-23 16:42:51 +02:00
Tim Schaub 48704cce2f Make sure to set a projection on user center.
Only in the API do we allow setting the map center without a projection.  This is all handled in the center getter/setter.
2012-06-23 15:40:43 +02:00
Tim Schaub 167f77dd7e Updating example with build config. 2012-06-23 15:22:37 +02:00
Tim Schaub df1dfd5295 Adding exports to get advanced compilation. 2012-06-23 15:22:37 +02:00
Tim Schaub 795f8b854d Adding instructions for build utilities. 2012-06-23 14:10:25 +02:00
Tim Schaub a1fcb4e065 Build with an arbitrary configuration. 2012-06-23 13:55:06 +02:00
Tim Schaub 2991041b3c Cleaning up a bit. 2012-06-23 13:23:10 +02:00
Tim Schaub c4f91d498c Prep for more efficient moves. 2012-06-23 12:42:09 +02:00
Tim Schaub 76d90428bd Pleasant zoom. 2012-06-23 03:32:27 +02:00
Tim Schaub 0554bceb29 Drag and zoom without throwing.
(This is a bit tedious, suggests a pending state.)
2012-06-23 02:17:14 +02:00
Tim Schaub 789eaa2742 Loaded typo. 2012-06-23 02:11:26 +02:00
Tim Schaub ef0fd8da60 Pixels increase right and down. 2012-06-23 02:00:28 +02:00
Tim Schaub b6cfeecdfb Adjust tiles if already rendered. 2012-06-23 01:59:20 +02:00
Tim Schaub 5fa42e9b30 A map that zooms. 2012-06-22 20:46:34 +02:00
Tim Schaub cfe3f14777 Stray console log. 2012-06-22 20:38:24 +02:00
Tim Schaub 787f2ba979 Common method for conditionally rendering. 2012-06-22 20:37:29 +02:00
Tim Schaub b986395358 This is not doing what you think it is. 2012-06-22 20:25:26 +02:00
Tim Schaub f46a7dbc2a Updated example. 2012-06-22 20:10:02 +02:00
Tim Schaub bc0614d3ee Render last. 2012-06-22 20:08:44 +02:00
Tim Schaub f86e6f17a9 Absolute position for tiles. 2012-06-22 20:08:44 +02:00
Tim Schaub af73489bd5 Create a renderer and draw when possible. 2012-06-22 20:08:44 +02:00
Tim Schaub 7b41119bc9 Composite renderer creates layer renderers. 2012-06-22 19:46:40 +02:00
Tim Schaub ff9bacf044 Temporary way for map renderers to register. 2012-06-22 19:46:40 +02:00
Tim Schaub 915f7b5330 Clean up old tiles. 2012-06-22 19:46:40 +02:00
Tim Schaub 2fffa0293d Test renderer type. 2012-06-22 17:48:44 +02:00
Tim Schaub 5b2d29878b Tile may be null. 2012-06-22 17:38:59 +02:00
Tim Schaub 0c0eecebd9 Tile index based math (needs simplification). 2012-06-22 17:29:06 +02:00
Tim Schaub db3a6e9c4a Get closest resolution. 2012-06-22 16:14:33 +02:00
Tim Schaub ef06bee222 Allowing people to set up things backwards. 2012-06-22 15:42:56 +02:00
Tim Schaub 4e2ea47e73 Decode what we encode. 2012-06-22 13:12:47 +02:00
Tim Schaub c67ca2660d Partial tile layer renderer. 2012-06-21 19:59:43 +02:00
Tim Schaub 948e792ddd Bounds transforms. 2012-06-21 19:59:43 +02:00
Tim Schaub 6198df9381 Location transform in api. 2012-06-21 19:59:43 +02:00
Tim Schaub ba7b54949c Bounds spec. 2012-06-21 19:59:43 +02:00
Tim Schaub 7c17374231 Bounds has projection or null. 2012-06-21 17:28:47 +02:00
Tim Schaub 0a1f8cddd8 Intersects method for bounds. 2012-06-21 17:12:05 +02:00
Tim Schaub 2741a22cf1 Add animate to draw. 2012-06-21 13:31:23 +02:00
Tim Schaub a6f464e473 New name for element.
You are provided a container.  To this container you can append elements, and you are responsible for removing elements that you add.  You cannot move or otherwise alter anything about this container.
2012-06-21 13:28:29 +02:00
Tim Schaub 5da8fc8d49 Allow map renderers access to target. 2012-06-21 12:26:51 +02:00
Tim Schaub 661f07d80a Only check src for js. 2012-06-21 12:23:14 +02:00
Tim Schaub 45f734d77e Base for map renderer. 2012-06-21 11:40:51 +02:00
Tim Schaub 9cc501caba Composite renderer requires an element. 2012-06-21 11:30:53 +02:00
Tim Schaub 43c8b89460 Initial pass at tiled layer renderer. 2012-06-21 01:18:57 +02:00
Tim Schaub fe0e242a39 Initial composite map renderer. 2012-06-21 01:17:34 +02:00
Tim Schaub ae242de94a Ignoring jsdoc output. 2012-06-21 01:16:37 +02:00
Tim Schaub 4baf760b7e Layer for demo. 2012-06-21 01:15:54 +02:00
Tim Schaub be54add905 Width and height on unreferenced bounds. 2012-06-21 00:50:26 +02:00
Tim Schaub 5287677489 Additional tileset getters. 2012-06-21 00:42:28 +02:00
Tim Schaub d8b31ab1ff Class name on archetype image. 2012-06-21 00:33:31 +02:00
Tim Schaub 57764813e3 Constructing tiles with bounds. 2012-06-20 23:38:15 +02:00
Tim Schaub f9813616e5 Giving a tile bounds. 2012-06-20 23:38:15 +02:00
Tim Schaub c9c1f79928 Layer hierarchy for renderers. 2012-06-20 23:38:14 +02:00
Tim Schaub a4a6bc4db4 Typo in PointLike def. 2012-06-20 18:49:40 +02:00
Tim Schaub 32d5397301 Dot notation for unquoted property. 2012-06-20 18:42:43 +02:00
Tim Schaub 1ac40021bb Quoting properties for external use. 2012-06-20 17:43:46 +02:00
Tim Schaub 5eeb21c125 Disallow nowhere. 2012-06-20 16:11:41 +02:00
Tim Schaub 09a6b6c456 Changing expectations for projection. 2012-06-20 14:52:29 +02:00
Tim Schaub 14b1a34f98 Splitting tests between api and internal. 2012-06-20 11:56:20 +02:00
Tim Schaub 54b8ebacaf OS neutral dev tools. 2012-06-20 00:41:28 +02:00
Tim Schaub b06a52888f Adding unreferenced bounds. 2012-06-20 00:11:06 +02:00
Tim Schaub 712070c1f0 Location tests passing. 2012-06-19 18:06:00 +02:00
Tim Schaub 408413ec92 Projection cannot be null. 2012-06-19 17:41:17 +02:00
Tim Schaub d69d56aab2 Avoiding warnings. 2012-06-19 15:54:13 +02:00
Tim Schaub 6f3b47709a No projection warnings. 2012-06-19 15:43:50 +02:00
Tim Schaub 4588d794d8 Keep compiling. 2012-06-19 15:23:36 +02:00
Tim Schaub 1043a53fe1 Use simple compilation. 2012-06-19 14:49:56 +02:00
Tim Schaub 77c07a500e A passing test. 2012-06-19 11:14:53 +02:00
Tim Schaub 90f33c587a Debugged. 2012-06-19 10:39:42 +02:00
Tim Schaub 738561e417 Exporting the map. 2012-06-19 10:29:03 +02:00
Tim Schaub 8572ae35cf Phony task 2012-06-19 10:28:51 +02:00
Tim Schaub 01e22e098c Ignoring plovr. 2012-06-19 09:47:27 +02:00
Tim Schaub 56c6d69999 File shuffle. 2012-06-19 09:46:19 +02:00
Tim Schaub bd6b52c2cd File shuffle. 2012-06-19 09:45:08 +02:00
Tim Schaub f24b518f61 Small fixes. 2012-06-19 09:43:20 +02:00
Tim Schaub e84a0473d5 Removing additional main.json. 2012-06-19 09:25:25 +02:00
Tim Schaub b9d690044f Adding test spec. 2012-06-18 18:15:51 +02:00
Tim Schaub 704f36639b Merge pull request #529 from adv-isu/ControlSplitDeactivateFix
OpenLayers.Control.Split.deactivate event unregistration fix.
2012-06-13 09:11:45 -07:00
tschaub 1108433465 Clarifying names. 2012-05-24 16:42:54 -06:00
tschaub f5e49fa82e One fewer use of rsync. 2012-05-24 16:40:56 -06:00
tschaub f7e0edca12 Fewer uses of rsync. 2012-05-24 16:34:15 -06:00
Tim Schaub 97983db785 Adding dependencies where they are used. 2012-05-22 22:28:51 -06:00
tschaub 348dffcda6 Merge branch '2.12' of git://github.com/openlayers/openlayers 2012-05-18 13:30:37 -06:00
Tim Schaub ae89452936 Merge pull request #473 from ahocevar/svg-block
Using display:block instead of position:absolute.
2012-05-18 12:29:26 -07:00
tschaub a612302a11 Demonstrating the use of MapQuest tiles in OL. 2012-05-17 11:06:21 -06:00
Tim Schaub cb7cf5e18e Allow for circular dependency in XMLHttpRequest.js
To make custom builds easier, it's convenient to have a OpenLayers.Request depend on OpenLayers.Request.XMLHttpRequest (see 18b4d6808d).  This makes it so we don't know which is going to be included first.  To get around this, we can be careful about when we define OpenLayers.Request.
2012-05-11 17:41:24 -06:00
Tim Schaub 866fa443fe Merge branch '2.12' of github.com:openlayers/openlayers 2012-05-11 01:20:37 -06:00
Tim Schaub 44e526a0e8 Merge pull request #439 from tschaub/439
Changing/fixing the meaning of getServerZoom
2012-05-11 00:16:09 -07:00
Tim Schaub a2c556f5c7 Updating release script to work with new structure
After the website infrastructure changes (cadb20c18a), the release script now puts stuff in /osgeo/openlayers/sites/openlayers.org (instead of /osgeo/openlayers/docs).
2012-05-10 16:03:38 -06:00
Tim Schaub cadb20c18a Use clones of git repos for site building.
The svn interface to our repos on git is not behaving well.  This is resulting in the website, examples, and api docs not being updated when they should (`svn up` is not doing what it should).

Instead of using svn checkouts, we should use clones of the git repos.  At the same time, it makes sense to organize things a bit.  These changes depend on a new structure on the openlayers.org machine:

    /osgeo/openlayers/repos - clones of our openlayers, docs, and website repos
    /osgeo/openlayers/sites - sources for openlayers.org, dev.openlayers.org, and docs.openlayers.org

Where things are "built" (e.g. minifying js and modifying example markup to point to that js), changes are now made outside of the repo cleans.  Having dirty repos was another source of build failures.

Changes still need to be made to the release process/script.
2012-05-10 01:03:54 -06:00
Tim Schaub 8dabefebb2 Remove unused urllib2 2012-05-10 01:02:40 -06:00
Tim Schaub f115c7a943 Use commit hash instead of (mock) svn rev.
When we upgraded to git, we didn't fully change over the way the website and examples are built.  The cron job that runs the update script only built the website & examples if the revision returned by the svn interface to the GitHub repo was different than the previously stored revision.  At some point, using `svn info` on the repo stopped being reliable.  For example, this is what I get when running this today (in 2012):

    svn info https://github.com/openlayers/openlayers/

    Path: openlayers
    URL: https://github.com/openlayers/openlayers
    Repository Root: https://github.com/openlayers/openlayers
    Repository UUID: d631b94f-4ba7-6298-eb8f-ce57b7db7bff
    Revision: 5488
    Node Kind: directory
    Last Changed Author: schuyler.erle
    Last Changed Rev: 5488
    Last Changed Date: 2006-05-12 12:35:22 -0700 (Fri, 12 May 2006)

(Last change looks like it was 6 years ago.)

We should be using a proper clone of the git repo and building the website and examples out of this.  Until then, we can at least use `git-ls-remote` to check what the latest HEAD from the canonical repo looks like.  This should get the website and examples building again (they stopped being updated a few weeks ago).
2012-05-09 19:48:51 -06:00
Tim Schaub 2b5b59bea5 Merge pull request #416 from tschaub/dotless
Use dotless identifiers.
2012-04-23 16:27:11 -07:00
Tim Schaub 9a7b8b1cca Add a bit to the release notes about dotless identifiers. 2012-04-23 19:25:39 -04:00
Tim Schaub faaa2cec1f Using compiled regexp to replace dots.
Though split and join appear to be more efficient in Chrome, a compiled regexp looks to be a safer bet across the board.  See http://jsperf.com/dotless (and http://jsperf.com/dotless-nop for the NOP).
2012-04-18 09:46:24 -04:00
Tim Schaub 163caf0e8d Underscore in canvas hit detection. 2012-04-18 09:40:27 -04:00