[OpenLayers-Dev] OpenLayers.Strategy.Cluster and attributive
comparisons
Marc Jansen
jansen at terrestris.de
Thu Oct 7 04:04:33 EDT 2010
Hi Eric,
good changes! Two final comments and I'd be happy to see this in the
OpenLayers examples:
Internet Explorer fires the onchange event of radio buttons only if the
radios blur (loose focus). I'd suggest writing
input.onclick = changeStrategy;
on line 244 instead of
input.onchange = changeStrategy;
I also reduced the number of features to 700 so IE has fewer problems
rendering the data.
Regards and many thanks for your help,
Marc and Thorsten
On 07.10.2010 09:17, Eric Lemoine wrote:
> On Thu, Oct 7, 2010 at 9:15 AM, Eric Lemoine
> <eric.lemoine at camptocamp.com> wrote:
>
>> On Thu, Oct 7, 2010 at 9:14 AM, Eric Lemoine
>> <eric.lemoine at camptocamp.com> wrote:
>>
>>> On Wed, Oct 6, 2010 at 2:11 PM, Marc Jansen<jansen at terrestris.de> wrote:
>>>
>>>> Hi Eric,
>>>>
>>>> thanks for your feedback.
>>>>
>>>> Attached is an example that shows the usage and the benefits from the custom
>>>> classes. I would be happy if this could be included in the OpenLayers
>>>> examples.
>>>>
>>>
>>> This is really nice!
>>>
>>> I modified your example a bit to make the extended classes rely on
>>> their parents' shouldCluster method, this is to avoid code
>>> duplication. I also renamed the files from cluster-strategy-extend.*
>>> to strategy-cluster-extended.*, to be consistent with the other
>>> cluster examples.
>>>
>>> Tell me if these changes are fine by you.
>>>
>>> Thank you Marc.
>>>
>> The files are attached.
>>
> Argh I'm sorry, the .js file didn't get attached. Retrying. Hope this
> is fine this time.
>
>
>
--
.................................................................
Karten im (Inter|Intra)net?
OpenLayers - Webentwicklung mit dynamischen Karten und Geodaten
von M. Jansen und T. Adams, OpenSourcePress, München.
ISBN: 978-3-937514-92-5
URL: http://openlayers-buch.de
.................................................................
Dipl.-Geogr. Marc Jansen
- Anwendungsentwickler -
terrestris GmbH& Co. KG
Irmintrudisstraße 17
53111 Bonn
Tel: ++49 (0)228 / 96 28 99 -53
Fax: ++49 (0)228 / 96 28 99 -57
Email: jansen at terrestris.de
Web: http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
Komplementärin: terrestris Verwaltungsgesellschaft mbH
vertreten durch: Hinrich Paulsen, Till Adams
More information about the Dev
mailing list